process terminated
Moderator: General Moderators
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am
process terminated
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
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 &`
`nohup /path/to/php ./myScript.php > /log/path/myScriptLog.log &`