The following changes were made:

* Moved crontab from usher into CONFIG
  * Modified init script to use status_of_proc from init-functions
  * Modified usher to use init script status to check if daemon running
This commit is contained in:
2018-09-30 17:25:32 -05:00
parent b7130cccc5
commit 3c259f0bf1
4 changed files with 5 additions and 13 deletions

11
CONFIG/etc/crontab Normal file
View File

@@ -0,0 +1,11 @@
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# we use the runall script to execute any scripts in the cron.hourly,
# cron.daily, cron.weekly, and cron.monthly directories
# m h dom mon dow user command
17 * * * * root cd / && runall /etc/cron.hourly
25 6 * * * root cd / && runall /etc/cron.daily
47 6 * * 7 root cd / && runall /etc/cron.weekly
52 6 1 * * root cd / && runall /etc/cron.monthly