RE: [PHP] Crontab
| From: | Stewart G. | Date: | Wed, 27 Feb 2002 09:25:55 +0000 |
| Subject: | RE: [PHP] Crontab | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86390@lists.php.net to get a copy of this message | ||
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:php-general@gremlins.com.hk]
> Sent: mercredi 27 février 2002 8:04
> To: php-general@lists.php.net
> 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.
>
>
>