Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFSCHEDULE - working TOO WELL!!

Status
Not open for further replies.

fusionaire

Programmer
May 20, 2000
67
US
Here is my issue:
I am just trying to test the cfschedule functionality, and I think I am doing everything properly, but all I need is for the cfschedule to run only once a day, but it is running once a minute! Any advice will be much appreciated.

<CFSCHEDULE
ACTION=&quot;UPDATE&quot;
TASK=&quot;EMAIL TEST&quot;
OPERATION=&quot;HTTPRequest&quot;
URL=&quot;STARTDATE=&quot;09/24/00&quot;
STARTTIME=&quot;60&quot;
ENDTIME=&quot;180&quot;
INTERVAL=&quot;Daily&quot;
PUBLISH=&quot;no&quot;>
 
Hi!

Why not trying to change the INTERVAL=&quot;DAILY&quot;
to INTERVAL=&quot;86400&quot; (number of seconds in a day)...

You know sometimes CF is strange :->

Try it you got nothing to loose!
Chris ;-)
 
I think the problem is with your STARTTIME option in the CFSCHEDULE tag. By entering 60 as the value of your STARTTIME, you are asking it to run every 60 seconds daily. Try entering a proper time value like
STARTTIME=&quot;9:00:00&quot; or
STARTTIME=&quot;17:00:00&quot;
It will now run only once at that particular time.You could add an appropriate ENDTIME.

Now your page should run at the specific time daily.

Let me know if this works
Nick
 
Nicknash~
That was the answer to my problem, thank you very much.

Fusionaire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top