I;ve also experienced this (on CFMX), where monthly scheduled tasks end up
running at 'odd' times. I didn;t find out the cause of the problem, but what
I did in the end was to amend to the script template so that it checked for
the current day/date first...eg...

<cfif dateformat(now(),'d') eq 1>
        <!--- code to run task --->
<cfelse>
        <!--- do nothing --->
</cfif>

and I then amended the scheduled task so that it ran daily

HTH

Alex


> -----Original Message-----
> From: Simon Whittaker [mailto:[EMAIL PROTECTED]
> Sent: 31 July 2003 10:43
> To: CF-Talk
> Subject: cfschedules....
> 
> 
> Hi there,
> 
> We have a problem with cfschedule that is proving very 
> annoying now. We 
> created a task to be run on the 1st of every month called 
> newsmail. We 
> noticed that the task was being run at odd times so decided to do 
> further investigation - the task was deleted and then 
> yesterday morning 
> we noticed that the newsmail had been run again. We checked 
> the logs and 
> found the following:
> 
> "Information","jrpp-599","07/30/03","11:25:37",,"[NewsMail] 
> Activating2 
> on Wed Jul 30 11:25:37 BST 2003 To run on :Tue Aug 26 
> 07:00:00 BST 2003"
> "Information","jrpp-599","07/30/03","11:26:57",,"[NewsMail] 
> Activating2 
> on Wed Jul 30 11:26:57 BST 2003 To run on :Tue Aug 26 
> 07:00:00 BST 2003"
> 
> This task was deleted and is now activating itself and 
> setting it to run 
> on 'Tue Aug 26 07:00:00 BST 2003'. Anyone had any similar fun with 
> cfschedules or any sensible suggestions for getting round it?
> 
> Cheers
> 
> Simon
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to