On 12/03/2010 12:33, Terry Ford wrote:
>
> I have had the following problem the last couple of time changes, and would 
> like to know if there is a simple solution to fix it:
>
> I have a number of tasks that I need to run just after midnight, local time 
> (CT), whether it's standard CST or daylight CDT.  12:01 AM.
>
> I use CF scheduler with settings "run daily at 12:01 AM".   However, whenever 
> we hit a daylight savings and switch between CST and CDT, ColdFusion tries to 
> be smart and adjusts that starting time by 1 hour, which means that the tasks 
> start running at 11:01 PM CT.

To me that sounds more like the server is staying on Standard Time. That 
is a fairly common scenario in most hosting companies.

How to handle the daylight savings changes goes in the same basket as 
how do you handle different time zones and the answer is dependent on 
what your site is doing. Our advice to clients for "simple" sites is to 
have a switch in some convenient spot, code (Application.cfc) or 
database, to flag daylight saving status and have a global variable with 
"adjustedNow()" in it. For more complex site where you might be working 
over many time zones or international users then you need to make it 
more complex.



-- 

Yours,

Kym Kovan
mbcomms.net.au


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331629
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to