refactor: Update cron expressions and add helper text for scheduled tasks

This commit is contained in:
Andras Bacsai
2024-08-08 12:50:49 +02:00
parent c2e431d631
commit fa28e952de
4 changed files with 13 additions and 4 deletions

View File

@@ -9,6 +9,11 @@ const VALID_CRON_STRINGS = [
'weekly' => '0 0 * * 0',
'monthly' => '0 0 1 * *',
'yearly' => '0 0 1 1 *',
'@hourly' => '0 * * * *',
'@daily' => '0 0 * * *',
'@weekly' => '0 0 * * 0',
'@monthly' => '0 0 1 * *',
'@yearly' => '0 0 1 1 *',
];
const RESTART_MODE = 'unless-stopped';