On Thu, Apr 24, 2008 at 3:26 PM, John Almberg <[EMAIL PROTECTED]> wrote:
>  SHELL=/usr/local/bin/bash

Did you install bash from ports and does it run OK from outside of cron?

>
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/gs/bin
>  HOME=/home/gs
>  0 15 * * * /home/gs/bin/script.php >>/home/gs/log/script.log
>
>  I can see from the cron log that cron runs script.php at the appointed
> hour:
>
>         Apr 24 15:00:03 on /usr/sbin/cron[72414]: (gs) CMD
> (/home/gs/bin/script.php >>/home/gs/log/script.log)

This entry in the cron log will still show up if the shell listed in
the crontab is not available.  However, as someone else already
mentioned, cron sends a mail when it goes to run and can't execute the
shell.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to