Re: how to execute a php script thru a cron job
| From: | Carry Ian | Date: | Wed, 14 Feb 2024 13:38:51 +0000 |
| Subject: | Re: how to execute a php script thru a cron job | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66512@lists.php.net to get a copy of this message | ||
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
> CI> 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,
> Daniel mailto:daniel@rezny.sk
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
Carry Ian
e-mail: carry@bharatnet.com
--------------------------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------------------------