diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-22 20:36:09 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-22 20:36:09 +0300 |
| commit | dba83a639c2cd6110da47a64362f6a5f21acfd7b (patch) | |
| tree | 5f88950126434c775e386af61b5ce1ec52563c34 /classes/Config.php | |
| parent | b25684a5a677df493f7c8b72f1bb8ac27fdb8bf0 (diff) | |
fix wrong config param being used & add a link to cron syntax we support
Diffstat (limited to 'classes/Config.php')
| -rw-r--r-- | classes/Config.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/Config.php b/classes/Config.php index 57878fb42..23aaecf6b 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -188,7 +188,9 @@ class Config { * key is a 32 byte hex string which may be generated using `update.php --gen-encryption-key` */ const ENCRYPTION_KEY = "ENCRYPTION_KEY"; - /** scheduled task to purge orphaned articles, value should be valid cron expression */ + /** scheduled task to purge orphaned articles, value should be valid cron expression + * @see https://github.com/dragonmantank/cron-expression/blob/master/README.md#cron-expressions + */ const SCHEDULE_PURGE_ORPHANS = "SCHEDULE_PURGE_ORPHANS"; /** scheduled task to expire disk cache, value should be valid cron expression */ |