crontab : Bitte um Korrekturlesung
mirrorgate at gmx.de
mirrorgate at gmx.de
Fri Nov 8 14:50:04 CET 2002
> On Thu, Nov 07, 2002 at 06:34:24PM +0100, Stefan Pump wrote:
> > jeden Tag um 0:14 ausführen:
> > -14 0 * * * test -x scriptdaily.sh && scriptdaily.sh &
> Moin
> Bei mir würde das wahrscheinlich so aussehen:
> 14 0 * * * test -x scriptdaily.sh && scriptdaily.sh >/dev/null 2>&1
> # 14 0 * * * test -x scriptdaily.sh && scriptdaily.sh 2>&1 |
> /usr/bin/mailx
> -s cron_scroptdaily me at my.address
Ich weiss, es ist nur eine Kleinigkeit, aber es wurde bisher nicht
korrigiert:
Die Regel wird jeden Tag um 0:14 und icht um 14:00
angeworfen. hier ein Auszug aus section 5 von crontab:
EXAMPLE CRON FILE
# use /bin/sh to run commands, no matter what /etc/passwd says
SHELL=/bin/sh
# mail any output to `paul', no matter whose crontab this is
MAILTO=paul
#
# run five minutes after midnight, every day
5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1
# run at 2:15pm on the first of every month -- output mailed to paul
15 14 1 * * $HOME/bin/monthly
# run at 10 pm on weekdays, annoy Joe
0 22 * * 1-5 mail -s "It's 10pm" joe%Joe,%%Where are your kids?%
23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday"
5 4 * * sun echo "run at 5 after 4 every sunday"
MfG...
Pierre Bernhardt
--
--
Pierre Bernhardt
More information about the Linux
mailing list