If i use these functions in my script, what will be the system resource
usage? I know, thread will be open while the script is running but, i
believe that they will not use extra system resource, won't they?

For example, i want to send 10 emails every 30 seconds. Assume that there
are 1,000,000 emails.
So;

for(from 1 to 1,000,000 count)
{
send 1 email
increase couner
if counter = 10 emails then sleep(30) else continue
}

And assume that this for loop will take 10 hours to finish. Will it use the
same or higher system resource while it has entered to sleep mode?

Thanks for your help



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to