Search code examples
coldfusioncoldbox

Coldbox and cfschedule


How should I add a cfschedule task to an app using the Coldbox framework?

Should I:

a.) write an event that does what the task, and point cfschedule to that URL with Coldbox?

b.) write a simple .cfm outside of coldbox?

Is one better than the other?

Thanks.


Solution

  • I agree, choose A, it gives you the entire lifecycle, access to logging, ses, etc.