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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

schedule on certain days of the week

Status
Not open for further replies.

Aeros

Programmer
Oct 7, 2002
166
US

I see in the schedule section of the CFMX admin I can set this to run daily, weekly or monthly. If I set it to run weekly does it start a week from the point that I set this at?

Preferably I woudl like this to run every Monday and Wednesday morning. Whats the best way of doing this?

Thanks
 
If you are running a Coldfusion script, then just include a section at the top of your script where it checks the date and quits if it's a day you don't want it to run.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion 7/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
I guess I could set it up to run daily and put some functionality in the script to check on the day of the week to run it:

<cfoutput>
<cfif dayofweek(now()) eq 2 or dayofweek(now()) eq 4>
execute script
</cfif>
</cfoutput>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top