Bernhard Breinbauer infopipe at
Mon Jan 8 21:51:45 GMT 2007

Hi list!

I'm having a problem with a daily cron job. I would like to execute my backup 
script every day, therefore i copied it into /etc/cron.daily:
# ls -l /etc/cron.daily/
-rwxr-xr-x 1 root root 9704 2006-12-11 15:04 /etc/cron.daily/

But it isn't executed, anacron puts the following in /var/log/syslog:

Jan  8 07:38:30 localhost anacron[5005]: Job `cron.daily' started
Jan  8 07:38:30 localhost anacron[6705]: Updated timestamp for job 
`cron.daily' to 2007-01-08
Jan  8 07:40:01 localhost /USR/SBIN/CRON[7152]: (root) CMD 
(test -x /usr/sbin/mcelog -a ! -e /etc/mcelog-disabled &
& /usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog)
Jan  8 07:41:25 localhost exiting on signal 15
Jan  8 07:41:26 localhost syslogd 1.4.1#18ubuntu6: restart.
Jan  8 07:41:36 localhost anacron[5005]: Job `cron.daily' terminated
Jan  8 07:41:36 localhost anacron[5005]: Normal exit (1 job run)

As you can see anacron says "1 job run" but there are more files in my 
cron.daily directory:

# ls /etc/cron.daily/
0anacron  aptitude      find.notslocate  man-db            samba    standard  
apt       bsdmainutils  logrotate  slocate  sysklogd

I have no clue what is wrong with my cron jobs.
When I execute the script manually it runs without error.
Any hints?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 

More information about the kubuntu-users mailing list