From 7b56d82aa227d3ea32a7e89121510983d9bf31de Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 24 May 2001 15:31:17 +0000 Subject: - Improved the crons and cron settings a bit. - Added a cron to queue.module to automatically discard or dump nodes older than x days. --- modules/headline.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/headline.module') diff --git a/modules/headline.module b/modules/headline.module index 1c6b41743..5c87ba286 100644 --- a/modules/headline.module +++ b/modules/headline.module @@ -12,7 +12,7 @@ function headline_help() { } function headline_conf_options() { - $period = array(900 => format_interval(900), 1800 => format_interval(1800), 3600 => format_interval(3600), 7200 => format_interval(7200), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 64800 => format_interval(64800), 86400 => format_interval(86400)); + $period = array(900 => format_interval(900), 1800 => format_interval(1800), 3600 => format_interval(3600), 7200 => format_interval(7200), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 64800 => format_interval(64800), 86400 => format_interval(86400), 1000000000 => t("never")); $output .= form_select(t("Update interval"), "headline_cron_time" , variable_get("headline_cron_time", 86400), $period, t("The update interval indicating how often you want to update your headline channels. Requires crontab.")); return $output; } -- cgit v1.2.3