I'm working on a application where user can schedule date and time, when some reports should be generated.
He/She sets a date and time and type of report.
I have a piece of code to generate report. Now how can this be scheduled to run at user specified time and date.
I know about linux cron but please keep in mind that user selects date/time and type of report and the script should run at that time. Obviously all of this is automated. And there are going to be thousands of users using this feature.
Is there any alternative ( to linux cron ) in PHP to accomplish this?? What is the best way to do this?
Thanks, Sash