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

Scheduled Task Ouput Saved To HTML

Status
Not open for further replies.

3dColor

Programmer
Jan 10, 2006
240
US
I have several scheduled tasks I run nightly that I would like to capture the results of to a static html document so in the morning if I want to check what happened the night before I can see the results of the tasks.

I used to have this neat feature on my old Coldfusion dedicated box, but I am now back on shared and we like to build a feature like this.

If I cfoutput my results in the scheduled task can't I some how save that output to html on the server somewhere and have it rewrite over itself each time?
 
Figured it out:

<cfsavecontent var="myoutput">
...stuff i want to capture...
</cfsavecontent>

<cffile action="write" output="#myoutput#" ...>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top