CVS: moonbase/utils/hc-cron crontab,1.2,1.3
Auke Kok
sofar at lunar-linux.org
Tue Dec 16 13:08:51 GMT 2003
Update of /var/cvs/lunar/moonbase/utils/hc-cron
In directory dbguin.lunar-linux.org:/tmp/cvs-serv5205/hc-cron
Modified Files:
crontab
Log Message:
Simplyfying crontabs... it should either be $(ls xxx/*) or just xxx/*
Index: crontab
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/hc-cron/crontab,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- crontab 7 Jan 2003 15:03:12 -0000 1.2
+++ crontab 16 Dec 2003 13:08:49 -0000 1.3
@@ -3,7 +3,7 @@
#
# see man crontab(5) for more information about this file.
#
- at hourly root for i in ls /etc/cron.hourly/* ; do $i;done > /dev/null 2>&1
- at daily root for d in ls /etc/cron.daily/* ; do $d;done > /dev/null 2>&1
- at weekly root for w in ls /etc/cron.weekly/* ; do $w;done > /dev/null 2>&1
- at monthly root for m in ls /etc/cron.monthly/* ; do $m;done > /dev/null 2>&1
+ at hourly root for i in /etc/cron.hourly/* ; do $i ; done > /dev/null 2>&1
+ at daily root for d in /etc/cron.daily/* ; do $d ; done > /dev/null 2>&1
+ at weekly root for w in /etc/cron.weekly/* ; do $w ; done > /dev/null 2>&1
+ at monthly root for m in /etc/cron.monthly/* ; do $m ; done > /dev/null 2>&1
More information about the Lunar-commits
mailing list