diff options
-rw-r--r-- | etc/inc/config.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 465c5de..42292e1 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1139,8 +1139,10 @@ function convert_config() { $cron_item_count = count($config['cron']['item']); for($x=0; $x<$cron_item_count; $x++) { if(stristr($config['cron']['item'][$x]['command'], "rc.update_bogons.sh")) { + if($config['cron']['item'][$x]['hour'] == "*" ) { $config['cron']['item'][$x]['hour'] = "2"; - write_config("Updated bogon update frequency to 2am"); + write_config("Updated bogon update frequency to 2am"); + } } } |