Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduling ColdFusion pages

Status
Not open for further replies.

cturland

Programmer
Sep 25, 2000
66
0
0
GB
Hi all,

Does anyone know how I can schedule a section of code or page to run at certain times of the day?

Thanks,
Carl Turland [sig][/sig]
 
Hi Car Turland,

It's simple to schedule a page (a cfm file). Here is what u need to do:
1. Open the ColdFusion Server Adminstrator page from where u installed ur ColdFusion Server
2. Enter ur passw if any
3. Look at the column on ur left, click on "Scheduled Tasks"
4. Enter the name of the task that u want to call, then click on "Add New Task"
5. From there just enter in the boxes (filename with path, url, output, and how u want to schedule (monthly, daily, ...))
Once you done with that page. U're set.

I hope this help ((-:
GH [sig][/sig]
 
But what if you're not on your own server? Is there a way to do this without using CF Administrator? I know there are a couple of ISPs that allow access these type things - for twice the going price of server space. How hard is it to get an ISP to set this up for you? Or can you do it yourself somehow? [sig][/sig]
 
U can use CFSchedule tag to do that.
*Note that u need to have a Publish page. If u don't, it won't work.
Syntax for Cfschedule is on the web. It's kinda easy to follow.
Try this link if u don't have any CF reference
[sig]<p>GH ((-:<br><a href=mailto:giahan@hotmail.com>giahan@hotmail.com</a><br>(-:[/sig]
 
A simple question, how/wehere do you define the task?
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top