Skip to main content
March 4, 2009
Question

Question about cfschedule task tag

  • March 4, 2009
  • 4 replies
  • 677 views
When I run my code it says I must have a task defined for the cfschedule to work however how where/what do I use for this task name? Do I use the file name where my httprequest file is or what do I need in this field?
    This topic has been closed for replies.

    4 replies

    March 4, 2009
    Here is what I have:

    <cfschedule action="run" task="SendOrder" interval="once" operation = "HTTPRequest" url = " Http://www.blah.com" startDate = "3/04/09" startTime = "11:50 AM"
    >

    Inspiring
    March 4, 2009
    PopcornCoder wrote:
    > I did that but and try and run it but then it can't find the task I name it do I have to do something on the page I want it to execute?
    >

    No. Maybe some code would provide more insight.
    March 4, 2009
    I did that but and try and run it but then it can't find the task I name it do I have to do something on the page I want it to execute?
    Inspiring
    March 4, 2009
    Task names can be any string you desire and are simple used to tell
    'Task A' from 'Task B' when looking at the task manager.