coldfusion スケジュール タスクを使用して、アプリ サーバーで exe ファイルを実行する必要があります。以下のcfexecuteコマンドで cfm ファイル内にコードを書きました。ただし、実行可能ファイルは、cfexecute のタイムアウト句の有無にかかわらず実行されません。誰かが私が間違っていることを指摘できますか。
<cfsetting enableCFOutputOnly="false" requestTimeout="9600" />
<!--- Call executable --->
<cftry>
**<cfexecute name= "C:\npp.exe" />**
<cfcatch type="Any">
<cfoutput>(Cal): Error - #cfcatch.message#</cfoutput>
<!--- TO DO:Log error --->
<cflog application="true" log="application" type="Error"
text=" Error - #cfcatch.message#" />
</cfcatch>
</cftry>
<cflog application="true" log="application" type="Information" text=" executable called" />