Commit fd3ac67c authored by Franco Fichtner's avatar Franco Fichtner

cron: start removing the immutable cron jobs in the config; #911

parent 5d80d462
......@@ -311,15 +311,6 @@
</rule>
</filter>
<cron>
<item>
<minute>1,31</minute>
<hour>0-5</hour>
<mday>*</mday>
<month>*</month>
<wday>*</wday>
<who>root</who>
<command>adjkerntz -a</command>
</item>
<item>
<minute>1</minute>
<hour>3</hour>
......
......@@ -2351,6 +2351,7 @@ function configure_cron()
'/usr/local/etc/rc.backup_rrd',
'/usr/local/etc/rc.update_bogons',
'/usr/local/opnsense/scripts/remote_backup.php',
'adjkerntz -a',
'newsyslog', /* old config migration for extra care */
);
......@@ -2380,6 +2381,8 @@ function configure_cron()
$autocron = array();
$autocron[] = generate_cron_job('adjkerntz -a', '1,31', '0-5');
if (!empty($config['system']['rrdbackup'])) {
$autocron[] = generate_cron_job('/usr/local/etc/rc.backup_rrd', $minute = '0', '*/' . $config['system']['rrdbackup']);
}
......
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