Re: /etc/cron.d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Dec 8, 2011 at 9:30 PM, Fajar Priyanto <fajarpri@xxxxxxxxxx> wrote:
> On Thu, Dec 8, 2011 at 4:27 PM, Cliff Pratt <enkiduonthenet@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux