I have a PHP script that runs server side via a CRON job. It functions just fine, but I need it to run every 10 seconds, not 60 seconds the limit of cron. Can I write another "Timer.PHP", that would call/run the UPDATE.PHP, and have the Timer.php loop and sleep to give me the 10 second update time? I could then have the cron run the Timer.php every 2 minutes.
The current cron job is: curl -s http://www.mysebsite.com/template/update/update.php?password=pass I am not sure of the following: 1) is this possible? 2) The correct syntax?
Someone suggested to have it loop 11 times (each loop 10 seconds apart) then stop until the cron calls it again. Their thoughts were to give it a 10 second down time to prevent the cron starting again before the previous one stopped its execution.