diff options
author | mcrane <mctch@yahoo.com> | 2009-04-06 17:07:03 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-04-06 17:07:03 -0600 |
commit | 754e9f4c2bb6136b755001e076ef64e22faad95a (patch) | |
tree | 7bb0f8a58082f142ce074c5cfcc26de8227a7c90 | |
parent | ccdbdd994a1fbad3fb3c997da54ad209100dbd0b (diff) | |
download | pfsense-packages-754e9f4c2bb6136b755001e076ef64e22faad95a.tar.gz pfsense-packages-754e9f4c2bb6136b755001e076ef64e22faad95a.tar.bz2 pfsense-packages-754e9f4c2bb6136b755001e076ef64e22faad95a.zip |
cron package after editing cron item stop and start cron
-rw-r--r-- | config/cron/cron.inc | 2 | ||||
-rw-r--r-- | config/cron/cron.xml | 2 | ||||
-rwxr-xr-x | pkg_config.7.xml | 2 |
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> |