Re: Execute at a defined time

From: Date: Wed, 05 Feb 2003 14:12:32 +0000
Subject: Re: Execute at a defined time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134405@lists.php.net to get a copy of this message
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

« previous php.general (#134405) next »