Hello PHPWinGroup!

I am writing a php script that will need to call via exec() a 2nd php script
to run in the background. (OS: linux)

I am thinking it would look something like this:


exec("php script2.php $param > /dev/null &");

I haven't actually attempted this yet. Was just hoping for a confirmation
that I am on the right track. And what is the payload of doing something
like this, if say, oh, 500+ people are doing this at the same time? No
access to crons, so can't do that. This is my hack or workaround for not
having scheduling ability. So I just call a 2nd script to run in background
to handle the script that will take longer. Don't want people waiting for a
script to finish.

Some server specs:
OS: linux (on a hosted server i have no access to at all)
Crontab: nope

Thanks!!

--
Nicole
www.aeontrek.com
- - - -




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to