mirror of
https://github.com/friendica/friendica
synced 2025-04-27 16:30:10 +00:00
CronJobs moved as well
This commit is contained in:
parent
f2e792662f
commit
04cc9bb4de
3 changed files with 292 additions and 289 deletions
|
@ -45,22 +45,22 @@ Class Cron {
|
|||
Worker::add(PRIORITY_LOW, "discover_poco", "checkcontact");
|
||||
|
||||
// Expire and remove user entries
|
||||
Worker::add(PRIORITY_MEDIUM, "cronjobs", "expire_and_remove_users");
|
||||
Worker::add(PRIORITY_MEDIUM, "CronJobs", "expire_and_remove_users");
|
||||
|
||||
// Call possible post update functions
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "post_update");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "post_update");
|
||||
|
||||
// update nodeinfo data
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "nodeinfo");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "nodeinfo");
|
||||
|
||||
// Clear cache entries
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "clear_cache");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "clear_cache");
|
||||
|
||||
// Repair missing Diaspora values in contacts
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "repair_diaspora");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "repair_diaspora");
|
||||
|
||||
// Repair entries in the database
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "repair_database");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "repair_database");
|
||||
|
||||
// once daily run birthday_updates and then expire in background
|
||||
$d1 = Config::get('system', 'last_expire_day');
|
||||
|
@ -68,7 +68,7 @@ Class Cron {
|
|||
|
||||
if ($d2 != intval($d1)) {
|
||||
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "update_contact_birthdays");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "update_contact_birthdays");
|
||||
|
||||
Worker::add(PRIORITY_LOW, "discover_poco", "update_server");
|
||||
|
||||
|
@ -80,7 +80,7 @@ Class Cron {
|
|||
|
||||
Worker::add(PRIORITY_MEDIUM, 'DBClean');
|
||||
|
||||
Worker::add(PRIORITY_LOW, "cronjobs", "update_photo_albums");
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "update_photo_albums");
|
||||
|
||||
// Delete all done workerqueue entries
|
||||
dba::delete('workerqueue', array('`done` AND `executed` < UTC_TIMESTAMP() - INTERVAL 12 HOUR'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue