[CentOS] /etc/cron.d

Thu Dec 8 20:01:32 UTC 2011
Cliff Pratt <enkiduonthenet at gmail.com>

On Thu, Dec 8, 2011 at 9:30 PM, Fajar Priyanto <fajarpri at arinet.org> wrote:
> On Thu, Dec 8, 2011 at 4:27 PM, Cliff Pratt <enkiduonthenet at gmail.com> wrote:
>> You can put a crontab file in there. Just don't alter any of the
>> others. Crond automatically runs everything in /etc/cron.d, in
>> /etc/crontab, and in user crontabs.
>>
>
> That's what I thought, but /etc/crontab only mention this:
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
>
> No /etc/cron.d
>
That's because crond already knows to look at /etc/crontab,
/etc/cron.d and user cron tabs. It's hard coded.

Cheers,

Cliff