Page 1 of 1

process terminated

Posted: Tue Sep 09, 2008 12:05 am
by devendra-m
I have a page which runs at background after an event is triggered. That page may run for more than 20 hours. But when tested the page was found terminated after about 2 hours. What might be the reason that the process was terminated?. System Administrator said that he took backup and he said he didn't restarted the apache server. Is it possible while taking backup the process running at background was killed somehow?

Re: process terminated

Posted: Tue Sep 09, 2008 5:13 am
by josh
Any process thats going to run that long should be executed on the command line

`nohup /path/to/php ./myScript.php > /log/path/myScriptLog.log &`