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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to schedule a cfm page to execute at a certain time 1

Status
Not open for further replies.

TechDude

Programmer
Jul 20, 2000
62
US
HI all, I need to have a cfmail executed automatically at the same time each day, does anyone know of a way to set this up in cfm?
thanks,
-Chris
Chris Sorel
chris@exnihilo.com
Remember, If you continue to do what you have always done,

you will continue to get what you have always gotten.
 
1. Use the coldfusion admininistrator
-automated tasks > Scheduled Tasks
-recurence daily at ?
under operation > url: type in your cfm-file

If you want to keep a logfile:
fill in the field under 'Publish'

2. use <cfschedule>

<cfschedule
action=&quot;UPDATE&quot;
task=&quot;&quot; name of task
operation=&quot;HTTPRequest&quot;
url=&quot;&quot; type in your cfm-file
startdate=&quot;&quot; #now()#
interval=&quot;1440&quot;> 60 minutes * 24 hours

webron
 
Great! That looks like it will work fine.
Much Thanks
Chris Sorel
chris@exnihilo.com
Remember, If you continue to do what you have always done,

you will continue to get what you have always gotten.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top