diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 5e2a6a069..90042e30f 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -90,9 +90,6 @@ class Cron // Clear cache entries Worker::add(PRIORITY_LOW, 'ClearCache'); - // Repair entries in the database - Worker::add(PRIORITY_LOW, 'RepairDatabase'); - DI::config()->set('system', 'last_cron_hourly', time()); } @@ -108,6 +105,9 @@ class Cron Worker::add(PRIORITY_LOW, 'UpdateGServers'); + // Repair entries in the database + Worker::add(PRIORITY_LOW, 'RepairDatabase'); + Worker::add(PRIORITY_LOW, 'Expire'); Worker::add(PRIORITY_LOW, 'ExpirePosts');