"R. Hamburg (hava.nl)" <user@xxxxxxx> wrote:
> > I assume the 2 lines above are actually on a single line in your crontab
> > file. If not, they should be.
>
> Hi steve,
>
> Yes the above is one line indeed.
Ok, good.
> Setting up the crontab like this:
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * lynx -dump
> http://www.domain.com/netstatus/cron_script/cron_script.php
>
> Is resulting in the following error on the cobalt..
>
> /bin/sh: /home/sites/www.domain.com/web/netstatus/cron_script: is a
> directory
>
> Doesn't make sense to me....
If you access the script directly via a browser, does it report the same
error? If so, there's an error in the script. If not, I'm somewhat
confused since what should be happening is cron is running lynx which is
executing the script via the webserver and dumping the output. As such, I
really don't understand how the cron output would know the server parent
directory of the script being called by lynx. If you're unable to give out
the real URL of the script, consider copying it to a temporary location and
posting that URL so we can look into it. Or do the same with a simple PHP
hello world script so a PHP script error can be ruled out.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users