CFCron
We have a lot of scheduled tasks that we need to keep track of and make sure we know that they are running. We didnÕt want to burden our developers with the challenge of making sure that they remember to add in a scheduled task to ColdFusion every time they need to add a batch job so we built the idea of a cron scheduler for ColdFusion.
The CFC automatically picks up the next task due to be run and executes it. All you need to do is to add one task to your schedule and CFCron takes care of the rest.
The first time it is run CFCron creates four directories (weekly, daily, hourly and tenminutes) just drop a CFM file in one of these directories and CFCron will run it at the correct frequency.
If you want to get reporting on how your tasks are going, just browse to the index.cfm file and it will generate a simple overview of where everything is up to.
CFCron is release under the Common Public License 1.0
To Do:
- Handle slow running tasks better
- Abstract error reporting email so it is configurable