Re: Execute at a defined time

From: Date: Wed, 05 Feb 2003 14:06:20 +0000
Subject: Re: Execute at a defined time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134404@lists.php.net to get a copy of this message
Hi, Wednesday, February 5, 2003, 11:49:35 PM, you wrote: MB> Hi, MB> I was looking on PHP manual but didn't find anything about it. MB> How can I execute a script all days at the same time? I kno i must have MB> access to the CRON of the system, but don't know what function should I use MB> to make this happen (run the script). MB> Miguel One simple way is with cron and a web page using lynx like this: 00 00 * * * /usr/bin/lynx -dump http://domain.com/countdown.php 1> /dev/null 2> /dev/null (-dump tells lynx to read the url, dump the page out and exit) -- regards, Tom

« previous php.general (#134404) next »