aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
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>