[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP and crontab
- Subject: Re: [cobalt-users] PHP and crontab
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Mon Jun 12 21:12:05 2000
- Organization: Pomfret Computer Technologies
> /bin/sh: script.cgi: command not found
Dan,
I know this might sound trivial to you, but here's what I'd check.
a) Does the script execute from the command line or when being called
directly using a browser?
If 'yes', then I have no idea. I have used the lynx -dump method in the
past with success.
If 'no':
b) Make sure the #! line in script.cgi is correct.
c) Does the script call any other external scripts or redirect to another
script?
It sounds like a simple misconfiguration problem within your script, but
then again I doubt that since you hardly qualify for the 'new user' status.
Just throwing ideas your way. It's usually the simplest problems that trip
up the 'long time' users.
----
Hmm, after inspecting your post a bit more closely, I noticed the following:
> 0 0 * * * * curl http://www.yoursite.com/myscript.php3
> 0 0 * * * * lynx -dump http://www.yoursite.com/myscript.php3
You have a total of 6 date/time parameters on your crontab lines above.
There should only be 5 if I'm not mistaken:
0 0 * * * curl http://www.yoursite.com/myscript.php3
0 0 * * * lynx -dump http://www.yoursite.com/myscript.php3
Maybe?
BC