I just get a debian vps server for the first time and even set it cost me I succeeded. Now I have an existential question, I want to make a php script running continuously, is to try iOS push notifications,? Can you tell me how this it?
I start my virtual console SSH and I run / usr/bin/php5 push.php and Apple connection, this perfect works but when I close the console and I open is no longer running, I guess that when you close the session executed everything stops. What do I do for that is always running that script?
And I guess to make sure you always running should create another script to control it to restart when stopped Or am I wrong?
Thanks for your help