aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/cron/cron.inc2
-rw-r--r--config/cron/cron.xml2
-rwxr-xr-xpkg_config.7.xml2
3 files changed, 4 insertions, 2 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>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index badb76c6..9a603f35 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -162,7 +162,7 @@
<pkginfolink></pkginfolink>
<config_file>http://www.pfsense.com/packages/config/cron/cron.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.1.3</version>
+ <version>0.1.4</version>
<status>Beta</status>
<required_version>1.2</required_version>
<maintainer>markjcrane@gmail.com</maintainer>