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

Re: using cron



On Friday 22 April 2005 01:56 am, Beretta wrote:
> On Thu, 21 Apr 2005 22:20:11 +0200, in linux.debian.user you wrote:
>
> <snip>
>
> >You don't put the script itself in the directory.  Actually, you don't
> > touch those directories.  (How would cron know when to run it???)
>
> <snip>
>
> >Hal
>
> <snip>
>
> What the? Of course you can put scripts in that directory. That's why it's
> called cron.daily!!!
>
> Duh...
>
> scripts in cron.daily are run once a day (time determined by /etc/crontab,
> which defaults to:
>
> 25 6    * * *   root    test -e /usr/sbin/anacron || run-parts --report
> /etc/cron.daily

Sorry.  It's clear that it says /etc, I was thinking of the crontab dirs 
in /var/spool/crontab -- I read what I expected, not what he wrote.

My bad.

Hal



Reply to: