I need to run a php function to read a txt file coming in my localhost folder to display its content in less than 3 seconds
i have tried adding cron job for the same. But the accuracy achieved is just a minute and i dont wanna add 20 cron jobs to reduce the time
*/1 * * * * curl http://localhost/includes/txt_parser.php?func=checkin
I need to read the txt file instantly through the function ad display it in UI.