Question feed. Have some other polling process outside of the server servers shouldn't be doing log running jobs unless designed for that that is doing the "pick up the 'I should send an email' message" and then acting on it. Peter Peter 4, 4 4 gold badges 39 39 silver badges 77 77 bronze badges. Hot Network Questions. Cron job can be used to initialize php scripts in cli at specified intervals lik every minute, every hour etc. The best answers are voted up and rise to the top. Afterall, if a browser supports Server-sent Events, it probably also supports the new progress bar.
For this particular issue cron jobs have been invented. Cron jobs are timed jobs that can for example execute a PHP script.
php Executing a script continuously Software Engineering Stack Exchange
You could set up a. Then you can run your script (even without &). With CTRL + A, D you can disconnect from the termial. You can reconnect with screen -r back to.
Video: Continuously run php script on click Auto-Refresh Specific HTML Section: using jQuery
Make your script executable: chmod +x 2. your html here --> php">click me to run python via php