This content has been marked as final. Show 7 replies
You can increase the timeout with the cfsetting tag.
but would timeout be the reason ?
how can i test to see what the acual error is,
read whatever files errors get written to.
yes but i can not see the error as this is a system task, what code could i add to send me a email with the actual error?
cftry/cfcatch might work.
have you tired increasing the interval your task runs at? i.e. set it to
run every 5 minutes instead of every 60 seconds...
as suggested, put your code inside a cftry/cfcatch block and have
cfcatch email you any errors...
Are you running this via the CF-scheduler? If so, check your scheduler.log Alternatively, you can also check your application.log for errors.
Or, adding a quick <cferror> tag might help you debug it:
<cferror type="exception" template="showError.cfm" mailTo="email@example.com">