Does anyone know for sure, if you pause a CF sched...
# cfml-general
d
Does anyone know for sure, if you pause a CF scheduled task, does it automatically run when you resume it? I think not, just checking, while still being a bit lazy/busy and not testing that myself.
e
I think not as well, but not 100% sure.
t
it doesn't. you have to hit the running man to kick it off.
👍🏻 1
👍 3
p
It should run next time it is scheduled to run, not just because you un paused it.
d
Right, what I thought, just verifying. Some of the paused tasks are somewhat intensive, want to run them, but once.
r
Dave - if your server is on IIS, you also need to be aware of the "feature" of IIS that will silently restart the IIS service every 29 hours and 1 minute that could cause your scheduled task to get triggered twice. I have seen this completely bork long-running jobs that were imports of large files that were then processed. The fix is to change the IIS setting to be every 24 hours at a time that won't impact your scheduled jobs.
🙌 1
e
@Reuben Brown wasn't aware of that! do you remember what this feature is called / where it is found?
r
look for a setting at the iis server level for "app pool recycle" .
e
amazing, thanks