[clue-tech] Re: Ubuntu crontab [solved]

Jason S. Friedman jason at powerpull.net
Fri Mar 3 07:44:12 MST 2006


The problem was that run-parts does not execute files with a "." in
them.  I was looking for 0backup_purge.plx to run, and it was not
because of it's name.  ntp.cron wasn't running, either.

I ran
$ run-parts -v --report /etc/cron.daily
to determine this.

Jason S. Friedman wrote:
> I'd like to know why the scripts in /etc/cron.daily are not executing,
> or don't appear to be.  /etc/crontab contains:
> SHELL=/bin/sh
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> 17 *    * * *   root    run-parts --report /etc/cron.hourly
> 25 8    * * *   root    run-parts --report /etc/cron.daily
> 47 8    * * 7   root    run-parts --report /etc/cron.weekly
> 52 8    1 * *   root    run-parts --report /etc/cron.monthly
> 
> $ ll /etc/cron.daily
> total 25
> -rwx------  1 root root  315 Feb  8 18:59 0anacron
> -rwx------  1 root root 1552 Feb  4 03:13 0backup_purge.plx
> -rwx------  1 root root 5041 Oct  5 13:40 apt
> -rwx------  1 root root  502 Jul  7  2005 bsdmainutils
> -rwx------  1 root root  419 Jul  5  2005 find.notslocate
> -rwx------  1 root root   89 May 26  2005 logrotate
> -rwx------  1 root root  946 Sep 26 15:12 man-db
> -rwx------  1 root root  495 Apr 22  2005 netkit-inetd
> -rwx------  1 root root  276 Jan 24 15:42 ntp.cron
> -rwx------  1 root root  383 Jul 21  2005 samba
> -rwx------  1 root root  189 Sep 23  2004 slocate
> -rwx------  1 root root 2571 May  2  2005 standard
> -rwx------  1 root root 1307 Sep 23 20:08 sysklogd
> -rwx------  1 root root 2482 Aug 13  2004 tmpreaper
> 
> 

_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list