• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 22. Using the ColdFusion Scheduler > Scheduling Tasks with CFSCHEDULE

22.2. Scheduling Tasks with CFSCHEDULE

Besides being able to schedule tasks with the ColdFusion Administrator, you can use the CFSCHEDULE tag to do it programmatically. With the CFSCHEDULE tag, you can add, update, delete, and run scheduled tasks. Scheduling tasks programmatically let's you add a whole new level of functionality to your applications. For example, you can create a reporting application that allows users to have automatic email delivery of their reports on a scheduled basis. With the CFSCHEDULE tag, it is easy to set things up so that your application automatically schedules a task for each user. And each task can automatically generate a report and email it to the user at a chosen interval.

The attributes used by the CFSCHEDULE tag roughly coincide with the form fields from the Add Scheduler Task page in the ColdFusion Administrator, as you can see in Appendix A.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint