cfschedule location and file type
good morning,
i've been using CF for about 1.5 years. I'M using Coldfusion 2016 in a windows PC. I'm trying to figure out the location to save a <cfschedule> document.
1 Should the file be saved as a regular .cfm file or do I save it as a template ".dwt.cfm" file and put it into the template folder of my file directory?
The reason is that I am not getting any thing to fire-off
2. My second question is: can multiple <cfschedule> code be placed inside of the same coldfusion file?
Below is my code that I used to point to the file to execute...
<!-- TemplateBeginEditable name="head" -->
<!--- This read-only example schedules a task.
To run the example, remove the comments around the code
and change the startDate, startTime, url, file, and path attributes
to appropriate values. --->
<cfschedule action = "update"
task = "ove3r0"
operation = "HTTPRequest"
url = "www.studentlt.com\scheduled_tasks\over30.cfm"
startDate = "3/31/18"
startTime = "6:00 AM"
interval = "86401"
resolveURL = "yes"
publish = "Yes"
file = "sample.html"
path = "D:\home\studentlt.com\wwwroot\SR\scheduled_tasks\"
requestTimeOut = "600"> <!-- TemplateEndEditable -->
