coldfusion - How to detect if a script is running via a scheduled task -
coldfusion - How to detect if a script is running via a scheduled task -
is there way observe if script runned scheduled task.
i have script gives throws clientabortexception
because using cfflush
. need observe if script running via scheduled task script can run successfully.
it seems can check via cgi.http_user_agent:
<cfif cgi.http_user_agent neq "cfschedule"> <cfflush> </cfif>
coldfusion scheduled-tasks railo cfml
Comments
Post a Comment