aboutsummaryrefslogtreecommitdiffstats
path: root/config
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
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')
-rw-r--r--config/cron/cron.inc2
-rw-r--r--config/cron/cron.xml2
2 files changed, 3 insertions, 1 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);
diff --git a/config/cron/cron.xml b/config/cron/cron.xml
index d7c5f9bd..83e1affa 100644
--- a/config/cron/cron.xml
+++ b/config/cron/cron.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>Cron Settings</name>
- <version>0.1.3</version>
+ <version>0.1.4</version>
<title>Settings</title>
<include_file>/usr/local/pkg/cron.inc</include_file>
<menu>