diff options
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/plugins/mod_cron.tl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/teal-src/plugins/mod_cron.tl b/teal-src/plugins/mod_cron.tl index 7a2af971..581c8c0a 100644 --- a/teal-src/plugins/mod_cron.tl +++ b/teal-src/plugins/mod_cron.tl @@ -12,6 +12,7 @@ end local enum frequency "hourly" "daily" + "weekly" end local record task_spec @@ -28,7 +29,7 @@ local record task_event item : task_spec end -local periods : { frequency : integer } = { hourly = 3600, daily = 86400 } +local periods : { frequency : integer } = { hourly = 3600, daily = 86400, weekly = 7*86400 } local active_hosts : { string : boolean } = { } |