Search Results
There are 6 item(s) tagged with the keyword "Schedule task".
- Displaying: 1 - 6 of 6
- 1. Day 14: ColdFusion 10 schedule enhancement task handler
Day 14 on ColdFusion 10, I haven't cover much in last 13 days but go deeper in functionality. Today I keep working with schedule task enhancement and research on event handler feature. This will let us define functions which will call on particular event. Following event/method supported in event handler CFC.
- onTaskStart : Call every time when task start, If function return false will not execute schedule.
- onMisFire : Call anytime schedule file misfire (other than schedule time) any how it only fire first time for me when I create schedule file and but later on manual call doesn't invoke.
- onTaskEnd: Call execution of task end.
- onError: Call on exception on task, either 404 or 500 error. P.S. This will not invoke in case of syntax error in your coldfusion page.
- execute : ColdFusion 10 allow you to write code in cfc function instead of calling any URL, if you do not provide URL while creating schedule file then it will look for execute function in your event handler but URL will get priority if both available.
- By Pritesh
- 2. Day 13: ColdFusion 10 & Schedule task chaining and mode
In my last post I have covered Group and list scheduler enhancement in ColdFusion 10. Today I have spent some time with event hander and other enhancement. In coldfusion 10 added new attribute mode which task application or server as value, this will let you specify task is server specific or application specific and default mode is server. Application specific task can be created from Application only and it will not be editable from ColdFusion administrator although you can run, pause or delete it from there.
- By Pritesh
- 3. Day 12: ColdFusion and Schedule task list and group enhancement
In yesterday blog I have list out all new feature added in schedule task in ColdFusion 10. Now time to test it out, covering list, group feature in this post. While creating schedule we can put schedule in specific group and later you can pause all/resume all schedule in same group without firing individual command. And list option added in action attribute which list out all current schedules in query format.
- By Pritesh
- 4. Day 11: ColdFusion and Schedule task enhancement.
Schedule task is something that I used lot and specially one of our clients love to get email periodically for different reports. In many case we get limited with ColdFusion 9 schedule task, like for one of schedule task require to reschedule on different time once executed and time vary per database transaction. Following are list of new feature in schedule task.
- By Pritesh
- 5. ColdFusion Schedule Task Issue with Daily Every task
Schedule task in ColdFusion is something I love most and I guess all ColdFusion developers are too. It is really easy to schedule any page to run for given specific date - time or periodically, even you can easily add it through code by CFSCHEDULE tag. For who are new to admin interface of schedule task it will look like below. In frequency there are three option 1. One-Time 2. Recurring 3. Daily Every, I think option caption itself mention what it will do. One common thing in all three options is you need to provide start time to tell schedule task runner when to start execution.
- By Pritesh
- 6. ColdFusion Schedule Task Error: The Cron service is not available.
Recently I face strang error in five years of career in ColdFusion.
Message: "The Cron service is not available."
Detail: "This exception is usually caused by service startup failure. Check your server configuration."- By Pritesh
- Displaying: 1 - 6 of 6