aboutsummaryrefslogtreecommitdiffstats
path: root/config/cron/cron.inc
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-04-06 17:07:03 -0600
committermcrane <mctch@yahoo.com>2009-04-06 17:07:03 -0600
commit754e9f4c2bb6136b755001e076ef64e22faad95a (patch)
tree7bb0f8a58082f142ce074c5cfcc26de8227a7c90 /config/cron/cron.inc
parentccdbdd994a1fbad3fb3c997da54ad209100dbd0b (diff)
downloadpfsense-packages-754e9f4c2bb6136b755001e076ef64e22faad95a.tar.gz
pfsense-packages-754e9f4c2bb6136b755001e076ef64e22faad95a.tar.bz2
pfsense-packages-754e9f4c2bb6136b755001e076ef64e22faad95a.zip
cron package after editing cron item stop and start cron
Diffstat (limited to 'config/cron/cron.inc')
-rw-r--r--config/cron/cron.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cron/cron.inc b/config/cron/cron.inc
index 380ecd05..63059a04 100644
--- a/config/cron/cron.inc
+++ b/config/cron/cron.inc
@@ -54,6 +54,8 @@ function php_sync_package()
global $config;
//synch cron tab
configure_cron();
+ $handle = popen("/usr/local/etc/rc.d/cron.sh stop", "r");
+ pclose($handle);
$handle = popen("/usr/local/etc/rc.d/cron.sh start", "r");
pclose($handle);