I've use a script that I put in my cron.weekly to execute a php script and
it works fine :-)



#! /bin/sh

#Run Report Generation Script 

/usr/bin/php4 /usr/share/netsaint/genmonrep.scp.php

Kind Regards
Sven

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: mercredi 27 février 2002 8:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Crontab


On Wednesday 27 February 2002 13:11, Uma Shankari T. wrote:
>  Hello,
>
>
>    I need to run one php script using crontab.I am having this doubt.If
> the phpscript run in the command prompt then only we can run the script
> using crontab...please tell me how do i go about with this..

You can have crontab run lynx/links to access your php page.


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
It's not the fall that kills you, it's the landing.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to