Really seems like you aren't getting the same environment in
the
script and in cron that you get in your shell. Take out the
redirection of the output in cron and let us know the
message that is
mailed to you. What is the output from the shell script?
Stef
On Wed, May 7, 2008 at 12:22 PM, Jelle Smet
<Jelle.Smet teleatlas.com> wrote:
>
>
>
> Hi list,
>
>
>
> I'm trying to launch the following command through
cron. But I can't get it
> working.
>
> If I launch the command from the console, it works like
a charm though. (The
> variables are not the problem)
>
>
>
> /usr/bin/lynx -connect_timeout=30 -cfg=
/etc/config/lynx.cfg -cmd_script=
> /etc/config/automate.macro http://fubar
>
>
>
>
>
> My crontab file looks like:
>
>
>
> */10 * * * * root /usr/bin/lynx
-connect_timeout=30 -cfg=
> /etc/config/lynx.cfg -cmd_script=
/etc/config/automate.macro http://fubar
> >/dev/null
>
>
>
> If I put my lynx command into a shell script and
execute that shell script
> through cron, it doesn't work either
>
>
>
> Anyone an idea to help me out?
>
>
>
_______________________________________________
Lynx-dev mailing list
Lynx-dev nongnu.org
htt
p://lists.nongnu.org/mailman/listinfo/lynx-dev
|