summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-24 15:31:17 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-24 15:31:17 +0000
commit7b56d82aa227d3ea32a7e89121510983d9bf31de (patch)
tree67fd39a1287e9b25a390e747c503da829a6925c2 /modules/watchdog.module
parentbf3772bada72ca3f573e03cf6670b7d26cb1f858 (diff)
downloadbrdo-7b56d82aa227d3ea32a7e89121510983d9bf31de.tar.gz
brdo-7b56d82aa227d3ea32a7e89121510983d9bf31de.tar.bz2
- Improved the crons and cron settings a bit.
- Added a cron to queue.module to automatically discard or dump nodes older than x days.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index 6c40f7e14..fd7c4e9e8 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -8,7 +8,7 @@ function watchdog_help() {
}
function watchdog_conf_options() {
- $period = array(3600 => format_interval(3600), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 86400 => format_interval(86400), 172800 => format_interval(172800), 259200 => format_interval(259200), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200));
+ $period = array(3600 => format_interval(3600), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 86400 => format_interval(86400), 172800 => format_interval(172800), 259200 => format_interval(259200), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200), 1000000000 => t("never"));
$output .= form_select(t("Discard entries older than"), "watchdog_clear", variable_get("watchdog_clear", 604800), $period, t("The time watchdog entries should be kept. Older entries will be automatically discarded. Requires crontab."));
return $output;
}