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
understood :-)
Cheers!
Pol
--
To UNSUBSC
Pol Hallen 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 ** * * rootcd / && run-parts
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 ** * * rootcd / && run-parts --report /etc/cron.hourly
25 6* *
3 matches
Mail list logo