|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I generate some excel reports (basically are excel outputs of regular HTML reports) using the ColdFusion scheduler. How do I continue generating the same reports using the ColdFusion files but using the NT batch program instead of the ColdFusion scheduler?
|
|
#2
|
|||
|
|||
|
Not sure about the answer, but it might help to know that the CFSCHEDULE engine is, basically, an interface into the NT scheduled task engine, or the UNIX chron job engine. So as far as I know you can schedule whatever you need to run directly in the NT scheduled tasks. Now, how to tell it that you want to execute a URL as the task is another story...;-)
|
|
#3
|
|||
|
|||
|
you can use the windows scripting host.
Create a file with a .vbs extension with the following inside of it: 'Create an instance of IE Dim IE Set IE = CreateObject("InternetExplorer.Application") 'Execute your URL ie.navigate("http://urltoyourcfpage.cfm") 'Clean up... Set IE = Nothing Change URL to the url to your cfm file. Then have the scheduled task execute that vbs file. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > How can I run a coldfusion executable through an NT batch program? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|