Re: [PHP] how to execute a php script thru a cron job
thanks daniel, but how do i add it to the cron job for daily execution ? regards carry On Thursday, September 06, 2001 at 10:51:00 PM, Daniel Rezny wrote: > Hello Carry, > > Thursday, September 06, 2001, 5:05:53 PM, you wrote: > > CI> hello, > > > > CI> can anybody suggest me how to execute a php file thru a cron job? > > CI> i have a php script which checks for invalid links in my links database and >mails the result to the site admin if any 400 series errors are found. > > > > CI> thanks in advance. > > If you have a binary php version you can do it like this: > /path/to/php/binary /path/to/script > > Or you can do it thru lynx like this: > /path/to/lynx -dump www.some_server.com/script.php > > I hope it helps. > > -- > Best regards, > Danielmailto:[EMAIL PROTECTED] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > Carry Ian e-mail: [EMAIL PROTECTED] -- Get real solutions to all your problems. http://www.salahkarindia.com - India's first advisory Portal Your friend, advisor, healer,companion!!! Register now to get free advice on all your problems. -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] how to execute a php script thru a cron job
Hello Carry, Thursday, September 06, 2001, 5:05:53 PM, you wrote: CI> hello, CI> can anybody suggest me how to execute a php file thru a cron job? CI> i have a php script which checks for invalid links in my links database and mails the result to the site admin if any 400 series errors are found. CI> thanks in advance. If you have a binary php version you can do it like this: /path/to/php/binary /path/to/script Or you can do it thru lynx like this: /path/to/lynx -dump www.some_server.com/script.php I hope it helps. -- Best regards, Danielmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] how to execute a php script thru a cron job
hello, can anybody suggest me how to execute a php file thru a cron job? i have a php script which checks for invalid links in my links database and mails the result to the site admin if any 400 series errors are found. thanks in advance. regards carry Carry Ian e-mail: [EMAIL PROTECTED] -- Get real solutions to all your problems. http://www.salahkarindia.com - India's first advisory Portal Your friend, advisor, healer,companion!!! Register now to get free advice on all your problems. -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]