Scheduled Task Start Time
I have been using ColdFusion since the 20th century and I thought I understood how it worked pretty well by now. I am not sure how this one slipped by me.
I have been using ColdFusion since the 20th century and I thought I understood how it worked pretty well by now. I am not sure how this one slipped by me.
Pluralizing in ColdFusion
Steve Bryant said: James,
Sorry I missed your comment earlier. I haven't compared to other libraries. I didn't even kn...
[More]
Pluralizing in ColdFusion
James Moberg said: Have you compared the results with other libraries? I use an inflector CFC and I see that some of t...
[More]
Git Branching Strategy for Web Development
Thomas said: Hi Steve,
thanks a lot for this post. While considering Git Web Flow for our branching strategy, t...
[More]
Getting Around Windows 7 "Destination Path Too Long" Error When Deleting Files
MxP said: The above robocopy command worked like a charm! I had a deeply nested folder structure that I wante...
[More]
New Open Source ColdFusion Shopping Cart
Paul said: I gave up on this after all kinds of pathing issues. Couldn't be bothered tracing where to change th...
[More]
That certainly appears to be the case - I'm not sure how I got myself all mixed up about it.
So your Scheduler is set to 'hourly', then this should only execute on the 3rd hour - assuming 1x a day then right? (as a time of 3 pm returns 15 as the hour)
So yes, I could see, setting up a Scheduler for 11 am would not work - even though, the next day - hourly, a person would think that the task would roll to the next hour in the morning etc.
The key here is to look at the scheduler log - and look for the 'Rescheduling for' value - as when a scheduled event ends - it should setup the next schedule for you. (make sure you log scheduled tasks etc - cfadmin Debugging and Settings - Logging Settings Enable logging for scheduled tasks)
I'm currently in a thread on the yahoo 'coldferusion' group about a scheduled task issue I'm seeing and is repeatable regarding long running threads, if interested http://tech.groups.yahoo.com/group/colderfusion.
That is correct. Certainly, I could have just set up a daily scheduled task to run at 3:00 AM for the same effect.
I avoided doing so only because I have one file on this site through which I manage all scheduled tasks - keeps me from having to clutter up the admin with a bunch of scheduled tasks some of which have rather complicated logic for determining the timing.
Good advice about looking at the scheduler logs - I certainly should have done that.