dcron: added support for hourly tasks
This commit is contained in:
parent
22c9f1ce6c
commit
17e7860d02
@ -2,6 +2,7 @@ drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/cron.d/
|
||||
drwxr-xr-x root/root etc/cron/
|
||||
drwxr-xr-x root/root etc/cron/daily/
|
||||
drwxr-xr-x root/root etc/cron/hourly/
|
||||
drwxr-xr-x root/root etc/cron/monthly/
|
||||
drwxr-xr-x root/root etc/cron/weekly/
|
||||
lrwxrwxrwx root/root etc/crontab -> ../var/spool/cron/crontabs/root
|
||||
|
@ -1,5 +1,5 @@
|
||||
1a208f09e660c72f0117185289b2c109 crond
|
||||
3e71eb70863bea6491bf4b3ac291a7b0 crontab
|
||||
55a87345232a1f52588867b5c0c0fd40 crontab
|
||||
adf3ad8cb05ea391b9a9169ddcccaba4 dcron-3.2.patch
|
||||
c2c816deb389b4bfb00761f26afe3efd dcron32.tgz
|
||||
d80b27b1b9532890136c14d30e2a0d2b runjobs
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
name=dcron
|
||||
version=3.2
|
||||
release=1
|
||||
release=2
|
||||
source=(http://apollo.backplane.com/FreeSrc/dcron32.tgz \
|
||||
crontab runjobs crond $name-$version.patch)
|
||||
|
||||
@ -16,7 +16,7 @@ build() {
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -d $PKG/var/{spool/cron,log}
|
||||
install -d $PKG/etc/{cron.d,cron/{daily,weekly,monthly}}
|
||||
install -d $PKG/etc/{cron.d,cron/{hourly,daily,weekly,monthly}}
|
||||
install -d -m 700 $PKG/var/spool/cron/crontabs
|
||||
|
||||
install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root
|
||||
|
@ -7,5 +7,6 @@
|
||||
00 20 * * * /usr/sbin/runjobs /etc/cron/daily
|
||||
05 20 * * mon /usr/sbin/runjobs /etc/cron/weekly
|
||||
10 20 1 * * /usr/sbin/runjobs /etc/cron/monthly
|
||||
15 * * * * /usr/sbin/runjobs /etc/cron/hourly
|
||||
|
||||
# End of file
|
||||
|
Loading…
x
Reference in New Issue
Block a user