Hi to all,
To the best of my knowledge, php code runs only when a script is attached to an html page. That means that the php code can run when a user asks for a php page to run.
I want to execute the php script during the night and normally for 3-4 hours. According to the previous stated, I cannot do that because I need a user asking for the script. Also, I found in previous messages that there is a maximum of 30 secs (if I don't change this setting in the php ini file).
I would like your opinion on the subject and proposals on how else I can do this code to run for 3-4 hours daily without any user asking the script.