[PHP] php daemon

2003-11-23 Thread Jon Hill
I have just been trying to work out the behaviour of running a php programm from BASH. If i execute ./my_program.php >> /var/log/mylog 2>&1 & and then terminate the controlling terminal I get a background process which has no controlling terminal, a parent process id of 1 and the process becomes a

[PHP] PHP Daemon

2002-03-06 Thread Ergin Aytac
Following boxes are running: server1 (win2000), not allowed to use a web-server on it, only port 22(ssh) is open to internet server2 (unix) has apache and php, only port 22 and 80 are open to internet I have to write a php-daemon on server1, which should simulate a database-trigger. Every 5 min.