I have a simple question that I couldn't find an answer for on the web or on StackOverflow.
I have two PHP scripts that I would like to run as daemon (not every x seconds/days).
Now I want to run them manually. I would also like them to run every time the server reboots.
What is the best practice for doing this?
If in your answer you are suggesting to use
/etc/init.d/ please explain how this is done.