Scheduling tasks after polling the database php -


i building web app in php used schedule tasks in future. in background supposed poll database every 2 min see if there upcoming task. how implement polling. javascript solution not helpful user can on of pages on webapp, system should keep pooling db.

cron 1 way still have poll database create cron job. best way implement it?

thanks

create cron job executed once every x minutes , make job check db. if there new upcoming task, make job launch it.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -