Pol Hallen <de...@fuckaround.org> 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 debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87d21n8viy....@mercury.locationd.net