cron error
Bill Marcum
bmarcum at iglou.com
Wed Sep 6 08:15:43 UTC 2006
On Fri, 01 Sep 2006 07:52:56 -0400 (EDT), dalila at despiertapr.com
<dalila at despiertapr.com> wrote:
> This is a multi-part message in MIME format.
>
> --bound1157111576
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 7bit
>
> 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/
>
>
> 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
>
Try adding this as the first line:
#!/bin/sh
--
Trying to establish voice contact ... please ____yell into keyboard.
More information about the ubuntu-users
mailing list