I am currently using sleep() function for achieving some task but I am getting security bug in my sonarqube. Do we have any other function to achieve same task in PHP? Basically, I want to call the same function after every 10 seconds. I can not use a cron job as a cron job requires atleast a minute.
Currently, I am running background task which in I am calling some function after every 10 seconds.
-
1You can read about ob_start() and ob_flush()Ghostranger– Ghostranger2018-02-24 09:15:53 +00:00Commented Feb 24, 2018 at 9:15
-
What exactly is the "security bug in my sonarqube"? What what is the source code you are using?Progman– Progman2018-06-09 12:11:56 +00:00Commented Jun 9, 2018 at 12:11
Add a comment
|