Adobe made some changes with Scheduled tasks in Coldfusion 10. Please take a look at the following to see what is different.
Configuring Scheduled Tasks in CF10
Due to some changes in the infrastructure and environment of the new Cornell Stack, we've found customers will have to change how they configure their scheduled tasks within Coldfusion Administrator (CFAdmin).
- In Coldfusion 9 (and previously hosted environments), we automatically opened up any folder named "tasks" within your environment - meaning CU Webauth would not be required (need a netid/password to see/call the files). This is no longer the case in Coldfusion 10. Customers can place their tasks in any folder/subfolder of their environment but they will need to provide an .htaccess file (or use an Apache Customer Include file for more advanced configs) to open the subdirectory up to allow Coldfusion to "see" the files.
- In Server Settings -> Scheduled Tasks -> Schedule New Task:
- Once you've filled out the Name, Duration/Frequency, you'll need to provide the URL to the task file (what Coldfusion will actually call to perform the task, typically a .cfm file). You should enter the vanity URL you've requested for your site as the URL. You can also use the VM name, like "webhost###.serverfarm.cornell.edu:8143", however be aware that your pathing may differ slightly.
- Examples:
- Pathing structure:
- Also note any relative or absolute pathing/locations in your task file. Because the task will be called from the virtual machine (VM) name of webhost###, you will need to make sure the pathing with in your task file is correct when called.