From e3f657e4c0ddb3ca5f09bea7cda832f148b9fbef Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 12 Aug 2015 11:38:02 +0200 Subject: cron - rewrite broken package - First of all, this thing should NOT install any cron service! Cron is started by /etc/rc, and reconfiguration is handled by configure_cron() sending a SIGHUP to it. Leave it alone, stop killing and restarting it. If cron is desired as "proper" service, this needs to be done in pfSense core, not via packages creating such service. - Fix copyright header - Fix permissions - Remove broken junk - Remove unused copy-and-paste junk from god knows where --- config/cron/cron.xml | 60 ++++++++++++---------------------------------------- 1 file changed, 14 insertions(+), 46 deletions(-) diff --git a/config/cron/cron.xml b/config/cron/cron.xml index 5a2b770b..5ec327f9 100644 --- a/config/cron/cron.xml +++ b/config/cron/cron.xml @@ -1,21 +1,24 @@ - - + + - Cron - Describe your package requirements here - Currently there are no FAQ items provided. Cron Settings - 0.2.2 + 0.3.0 Settings /usr/local/pkg/cron.inc Cron - cron settings. + Cron settings.
Services
cron.xml /packages/cron/cron.php
- - cron - cron.sh - cron - Scheduled commands daemon - - - - Settings - /packages/cron.php - - - installedpackages->package->$packagename->configuration->cron /usr/local/pkg/ - 0755 https://packages.pfsense.org/packages/config/cron/cron.xml /usr/local/pkg/ - 0755 https://packages.pfsense.org/packages/config/cron/cron.inc /usr/local/www/packages/cron/ - 0755 https://packages.pfsense.org/packages/config/cron/cron.php /usr/local/www/packages/cron/ - 0755 https://packages.pfsense.org/packages/config/cron/cron_edit.php /usr/local/www/packages/cron/ - 0755 https://packages.pfsense.org/packages/config/cron/index.php - - - Variable One - var1 - Enter the variable one here. - input - - - Variable Two - var1 - Enter the variable one here. - input - - - - cron_sync_package(); -- cgit v1.2.3