This is why I love lists. I was going to have to do something similar this week and was planning on using perl, never thought about running php from the command line.
Thanks, =S. On Wed, 27 Feb 2002, Sven Jacobs wrote: > 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. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php