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

Re: Cron does not run.



On Fri, Jan 29, 2010 at 4:02 PM, Sthu Deus <sthu.deus@gmail.com> wrote:
> Good day.
>
>
> I can not set up cron. This is what I have as I tested it (I tried for daily only for now):
>
> At 3:40 I put into /etc/crontab:
> 50 3     * * *    root  test -x /usr/sbin/anacron || (cd / && run-parts --report /etc/cron.daily )
>
> in /etc/cron.daily I put file A with single line:
> date > /tmp/cron-ran
>
> At 3:50 I have checked /tmp looking for A file - but it is not.
>
> As I do understand, the report of the run jobs should be put to /var/spool/cron or in /var/spool/cron/crontabs dir. (?), but it is empty.
>
> So, what is wrong w/ my set up?
Maybe cron wants to tell you something with a email, did you check
/var/mail/mail ?

It depends on how you have configure the mail system.

cron.daily will run the next day in the morning

Regards,


Reply to: