worldservants
New member
- Joined
- Jul 3, 2014
- Messages
- 1
Hi guys,
We have a long running PHP process that has to continue during the night. However, because of the Apache log rotate, the connection is broken at midnight, stopping the execution of the script.
After some research (http://forum.directadmin.com/showthread.php?t=32594), I found that Apache was not restarted gracefully, so I added the line graceful_restarts=1 to directadmin.conf, but this doesn't seem te work. The execution of the scripts is still stopped.
Do you have any idea how to get graceful restarts working? Or is there another way for the PHP process to remain active during an Apache restart?
Thanks in advance!
We have a long running PHP process that has to continue during the night. However, because of the Apache log rotate, the connection is broken at midnight, stopping the execution of the script.
After some research (http://forum.directadmin.com/showthread.php?t=32594), I found that Apache was not restarted gracefully, so I added the line graceful_restarts=1 to directadmin.conf, but this doesn't seem te work. The execution of the scripts is still stopped.
Do you have any idea how to get graceful restarts working? Or is there another way for the PHP process to remain active during an Apache restart?
Thanks in advance!