cron error
dalila at despiertapr.com
dalila at despiertapr.com
Fri Sep 1 11:52:56 UTC 2006
i keep getting this error email of cron
/etc/cron.daily/daily:
run-parts: failed to exec /etc/cron.daily/daily: Exec format error
run-parts: /etc/cron.daily/daily exited with return code 1
daily is a little script i wrote to email an ip to my other location
dalila at dalila-laptop:~$ ls -lash /etc/cron.daily/
total 60K
4.0K drwxr-xr-x 2 root root 4.0K 2006-08-31 07:42 .
4.0K drwxr-xr-x 115 root root 4.0K 2006-09-01 02:54 ..
4.0K -rwxr-xr-x 1 root root 311 2005-05-02 22:10 0anacron
8.0K -rwxr-xr-x 1 root root 5.5K 2006-04-18 15:47 apt
4.0K -rwxr-xr-x 1 root root 314 2006-04-03 10:44 aptitude
4.0K -rwxr-xr-x 1 root root 502 2005-10-24 22:13 bsdmainutils
4.0K -rwxr-xr-x 1 root root 39 2006-08-31 07:42 daily
4.0K -rwxr-xr-x 1 root root 419 2006-03-20 02:25 find.notslocate
4.0K -rwxr-xr-x 1 root root 89 2005-10-25 06:32 logrotate
4.0K -rwxr-xr-x 1 root root 946 2005-09-26 11:12 man-db
4.0K -rw-r--r-- 1 root root 102 2005-11-15 08:42 .placeholder
4.0K -rwxr-xr-x 1 root root 189 2006-01-07 11:44 slocate
4.0K -rwxr-xr-x 1 root root 3.2K 2005-11-15 08:42 standard
4.0K -rwxr-xr-x 1 root root 1.3K 2006-04-24 14:36 sysklogd
this is th content of the script
dalila at dalila-laptop:~$ cat /etc/cron.daily/daily
ifconfig|mailx dalila at XXXXXXX.com
why the cron email error
More information about the ubuntu-users
mailing list