mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-07 14:00:59 +01:00
reorder housekeeping tasks by interval
This commit is contained in:
parent
55bb464cc9
commit
997c10437e
@ -1734,22 +1734,6 @@ class RSSUtils {
|
||||
}
|
||||
);
|
||||
|
||||
$scheduler->add_scheduled_task('expire_error_log', '@hourly',
|
||||
function() {
|
||||
self::expire_error_log();
|
||||
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$scheduler->add_scheduled_task('expire_lock_files', '@hourly',
|
||||
function() {
|
||||
self::expire_lock_files();
|
||||
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$scheduler->add_scheduled_task('disable_failed_feeds', '@daily',
|
||||
function() {
|
||||
self::disable_failed_feeds();
|
||||
@ -1774,6 +1758,22 @@ class RSSUtils {
|
||||
}
|
||||
);
|
||||
|
||||
$scheduler->add_scheduled_task('expire_error_log', '@hourly',
|
||||
function() {
|
||||
self::expire_error_log();
|
||||
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$scheduler->add_scheduled_task('expire_lock_files', '@hourly',
|
||||
function() {
|
||||
self::expire_lock_files();
|
||||
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$scheduler->add_scheduled_task('send_headlines_digests', '@hourly',
|
||||
function() {
|
||||
Digest::send_headlines_digests();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user