PDA

View Full Version : PHP Cronjob problem


bazet
Fri 17th Aug '01, 6:41am
I have a script that delete subscribed user after specified time and I run it via lynx in cronjob 5 secs after 12 midnight everyday.
The result...it runs..php executed ..but the system don't know how to close the lynx and mail me the error. And I don't want the system mail me the error..

I've put -> *** lynx://127.0.0.1/blah.php > /dev/null
And still the system mail me the error....

How about wget ? I wget runs fine in cronjob ?

Thank you

The Prohacker
Fri 17th Aug '01, 1:39pm
Usually I don't use anything like that at all, I just run the php file at the console, like th is:
' php blah.php '

bazet
Sat 18th Aug '01, 2:07am
Well....my server don't have CGI version of PHP :(

Blastoise
Sun 19th Aug '01, 7:16pm
Whats a cron job for?

The Prohacker
Sun 19th Aug '01, 9:17pm
Cron is used to run a certain program or command at a certain time...