ColdFusion gets the time from the underlying Java layer.
Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com [email protected] www.trunkful.com On Sep 8, 2011, at 4:02 PM, Nathan Chen wrote: > > Wil and Robert, > > Thank you very much. It is a time zone issue although I didn't know what > caused it. Someone posted a solution on web, and it worked. I changed > the time zone to other time zone, restarted the server, reset the time > zone to the correct one, restarted the server again, then it worked. It > looks like restarting caused CF to recognize the server internal clock. > Those who are more knowledgeable in CF can explain it better than I. > > Nathan > > -----Original Message----- > From: Wil Genovese [mailto:[email protected]] > Sent: Thursday, September 08, 2011 12:37 PM > To: cf-talk > Subject: Re: How to fix the wrong time of the scheduled task on Admin > > > 1. do <cfoutput>#now()#</cfoutput> to get the time. > > 2. when was the last time the CF server was restarted? > > 3. when was the last time the server itself was restarted? > > 4. have you tried to delete and recreate the scheduled task? > > 5. has the server timezone setting changed at all? > > > > > > > Wil Genovese > Sr. Web Application Developer/ > Systems Administrator > CF Webtools > www.cfwebtools.com > > [email protected] > www.trunkful.com > > On Sep 8, 2011, at 1:33 PM, Nathan Chen wrote: > >> >> All: >> >> >> >> First, I am not talking about <cfschedule> tag; I am talking about the >> scheduled task on CF Admin page under "Debugging & Logging" area. I > have >> a simple scheduled task, which used to run correctly based on the time > I >> defined(e.g. 12pm daily). But now it runs at 6am daily. I checked with >> the server clock and it is correct. Does CF use another clock to do > the >> scheduling? If so, where can I find? If not, how to fix such error? (I >> am on CF 8, IIS 6, Win 2008). >> >> >> >> Nathan Chen >> >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347349 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

