class CCron


Located at : UKNOWVA_ROOT/components/com_community/libraries/cron.php

Methods

CCron()

No description

run()

No description

runTarget($target)

No description

_updatePhotoFileSize($updateNum = 20)

For photos that does not have proper filesize info, update it.

_updateVideoFileSize($updateNum = 20)

For videos that does not have proper filesize info, update it.

_removeDeletedPhotos($updateNum = 5)

Remove all photos that are orphaned, whose parent album has been deleted

_cleanRSZFiles($updateNum = 5)

Remove old dynamically resized image files

_processPhotoStorage($updateNum = 5)

If remote storage is used, transfer some files to the remote storage - fetch file from current storage to a temp location - put file from temp to new storage - delete file from old storage

_processVideoStorage($updateNum = 5)

No description

_convertVideos()

No description

_sendSiteDetails()

No description

_sendEmails()

No description

_archiveActivities()

Archive older activities for performance reason

sendEmailsOnPageLoad()

No description

_removeTempPhotos()

No description

_removeTempVideos()

No description

_removePendingInvitation()

No description

Details

at line 14
CCron()

at line 22
run()

at line 97
runTarget($target)

Parameters

$target

at line 219
_updatePhotoFileSize($updateNum = 20)

For photos that does not have proper filesize info, update it.

Due to IO issues, run only 20 photos at a time

Parameters

$updateNum

at line 252
_updateVideoFileSize($updateNum = 20)

For videos that does not have proper filesize info, update it.

Due to IO issues, run only 20 photos at a time

Parameters

$updateNum

at line 285
_removeDeletedPhotos($updateNum = 5)

Remove all photos that are orphaned, whose parent album has been deleted

Parameters

$updateNum

at line 320
_cleanRSZFiles($updateNum = 5)

Remove old dynamically resized image files

Parameters

$updateNum

at line 353
_processPhotoStorage($updateNum = 5)

If remote storage is used, transfer some files to the remote storage - fetch file from current storage to a temp location - put file from temp to new storage - delete file from old storage

Parameters

$updateNum

at line 449
_processVideoStorage($updateNum = 5)

Parameters

$updateNum

at line 545
_convertVideos()

at line 560
_sendSiteDetails()

at line 567
_sendEmails()

at line 580
_archiveActivities()

Archive older activities for performance reason

at line 613
sendEmailsOnPageLoad()

at line 619
_removeTempPhotos()

at line 630
_removeTempVideos()

at line 662
_removePendingInvitation()