Pol Hallen <[email protected]> writes: > Hi all :-) > > doing a check of my system, I see some scripts in /etc/cron.d/ > > if my /etc/crontab contains: > > SHELL=/bin/sh > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > > # m h dom mon dow user command > 17 * * * * root cd / && run-parts --report /etc/cron.hourly > 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && > run-parts --report /etc/cron.daily ) > 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && > run-parts --report /etc/cron.weekly ) > 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && > run-parts --report /etc/cron.monthly ) > > who starts the scripts inside /etc/cron.d/? >
cron reads the files in /etc/cron.d in addition to /etc/crontab and the per-user crontab files. See the cron(8) manpage. The files in /etc/cron.d are supposed to be crontab files, not scripts like those being run using run-parts. -- regards, kushal -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

