RE: [PHP] Crontab
| From: | Sven Jacobs | Date: | Wed, 27 Feb 2002 07:13:46 +0000 |
| Subject: | RE: [PHP] Crontab | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86374@lists.php.net to get a copy of this message | ||
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.
--
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