Re: Execute at a defined time
| From: | Miguel Br�s | Date: | Wed, 05 Feb 2003 15:08:10 +0000 |
| Subject: | Re: Execute at a defined time | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134423@lists.php.net to get a copy of this message | ||
Thx all for the help
Problem solved
Miguel
"Jason Sheets" <jsheets@php.net> escreveu na mensagem
news:1044454353.322.104.camel@daemon.shadotech.biz...
Hi Miguel,
You can use cron to execute the CGI or CLI version of PHP against your
PHP script, for example /usr/local/bin/php example.php, simply create a
cron entry that will execute at the desired time. If you need
information on the crontab format do a man crontab or search google for
cron help as there is a lot of information available.
Jason
On Wed, 2003-02-05 at 06:49, Miguel Brás wrote:
> Hi,
>
> I was looking on PHP manual but didn't find anything about it.
>
> How can I execute a script all days at the same time? I kno i must have
> access to the CRON of the system, but don't know what function should I
use
> to make this happen (run the script).
>
> Miguel
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php