Re: crontab help
| From: | Joe Stump | Date: | Sun, 25 Feb 2001 14:57:01 +0000 |
| Subject: | Re: crontab help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41586@lists.php.net to get a copy of this message | ||
Didn't you just ask this a few days ago?
In your while loop put a sleep(300) which will sleep for 300 seconds after
processing X amount of emails.
--Joe
On Fri, Feb 22, 2002 at 02:53:10PM +0800, Arnold Gamboa wrote:
> hi there.
>
> is there a way to tell crontab to do:
>
> "run script every 5 mins for 1 hour"..
>
> i have this mass email script that is so huge that i need it to chunk into
> records and make sure that it will run every 5 mins for 1 hour.
>
> Thanks for any help.
>
--
-------------------------------------------------------------------------------
Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
http://www.miester.org http://www.care2.com
/\\
"It's not enough to succeed. Everyone else must fail" -- Larry Ellison _\_V
-------------------------------------------------------------------------------