Skip to content
Advertisement

Tag: sh

Run a PHP file every 5 seconds using Shell Script

I want to run a php file every 5 seconds using Shell Script. But sometimes the script gets run every second or sometimes gets stop running. Do I need to use crontab also? Please help. Answer The best thing would be to configure crontab to keep the execution or another program installed as a service. The problem with contrab is

Advertisement