Commit 98485c39 authored by Franco Fichtner's avatar Franco Fichtner

cron: just a bit more

parent 4958ea7b
...@@ -2377,14 +2377,14 @@ function configure_cron() ...@@ -2377,14 +2377,14 @@ function configure_cron()
/* bogons fetch always set in default config.xml */ /* bogons fetch always set in default config.xml */
switch ($config['system']['bogons']['interval']) { switch ($config['system']['bogons']['interval']) {
case 'daily': case 'daily':
$autocron = generate_cron_job('/usr/local/etc/rc.update_bogons', '1', '3', '*', '*', '*'); $autocron[] = generate_cron_job('/usr/local/etc/rc.update_bogons', '1', '3', '*', '*', '*');
break; break;
case 'weekly': case 'weekly':
$autocron = generate_cron_job('/usr/local/etc/rc.update_bogons', '1', '3', '*', '*', '0'); $autocron[] = generate_cron_job('/usr/local/etc/rc.update_bogons', '1', '3', '*', '*', '0');
break; break;
case 'monthly': case 'monthly':
default: default:
$autocron = generate_cron_job('/usr/local/etc/rc.update_bogons', '1', '3', '1', '*', '*'); $autocron[] = generate_cron_job('/usr/local/etc/rc.update_bogons', '1', '3', '1', '*', '*');
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment