Probleme mit Cronjob

4men

Mitglied
Hi

Ich hab mir vor kurzem die Crontab - Datei vorgenommen und hab sie auf meine Bedürfnisse angepasst. Die sieht nun so aus

SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
15 15 * * * root rm -f /var/spool/cron/lastrun/cron.daily
30 15 * * 1 root rm -f /var/spool/cron/lastrun/cron.weekly
45 15 23 * * root rm -f /var/spool/cron/lastrun/cron.monthly

damit dachte ich das der Inhalt vom Ordner cron.weekly am Montag um 15:30 ausgeführt wird, aber er wird sowohl richtig als auch um 14:45 ausgeführt.

Ich hab keine Idee woran das liegen kann, gibt es da vielleicht einen andere Möglichkeit das dieser Inhalt ausgeführt wird? Denn es ist nur der Wochenordner bei dem das nicht funktioniert.

Hoffe auf eine Lösung

mfg Christian

Hat sich erledigt keine Ahnung wieso aber jetzt funktionierts ?
 
Zuletzt bearbeitet:

Neue Beiträge

Zurück