Re: cron Problem
Michelle Konzack <linux4michelle@freenet.de> wrote:
> Die sollte eigentlich so aussehen:
> __( '/etc/crontab' )__________________________________________________
> /
> | SHELL=/bin/sh
> | PATH=/sbin:/bin:/usr/sbin:/usr/bin
> | MAILTO=blubber
> |
> | # m h dom mon dow user command
> | 1 0 * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
> | 5 0 * * 7 root test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly
> | 10 0 1 * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly
> | #
> | 0 * * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.hourly
> \______________________________________________________________________
Die letzte Zeile ist Schrott.
So muss das (die Zeiten sind natürlich variabel):
,----
| # m h dom mon dow user command
| 25 6 * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
| 47 6 * * 7 root test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly
| 52 6 1 * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly
| 17 * * * * root run-parts --report /etc/cron.hourly
`----
Anacron hat gar keine stündliche "Auflösung", daher kann es nicht für
cron.hourly benutzt werden.
S°
--
Sven Hartge -- professioneller Unix-Geek und alltime Nerd
Meine Gedanken im Netz: http://sven.formvision.de/blog/
Reply to: