How To Run a PHP Job Multiple Times in a Minute with Crontab on Ubuntu 20.04
In this guide, you will create a sample cron_jobs database on an Ubuntu 20.04 server. Then, you’ll set up a tasks table and a script that executes the jobs in your table in intervals of 5 seconds using the PHP while(…){…} loop and sleep() functions.