fix wrong config param being used & add a link to cron syntax we support

This commit is contained in:
Andrew Dolgov
2025-05-22 20:36:09 +03:00
parent b25684a5a6
commit dba83a639c
2 changed files with 4 additions and 2 deletions

View File

@@ -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 */