From 754e9f4c2bb6136b755001e076ef64e22faad95a Mon Sep 17 00:00:00 2001 From: mcrane Date: Mon, 6 Apr 2009 17:07:03 -0600 Subject: cron package after editing cron item stop and start cron --- config/cron/cron.inc | 2 ++ config/cron/cron.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'config/cron') 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 @@ Describe your package requirements here Currently there are no FAQ items provided. Cron Settings - 0.1.3 + 0.1.4 Settings /usr/local/pkg/cron.inc -- cgit v1.2.3