Copy link to clipboard
Copied
Hello
Is this possible to set up like this? It looks like the variables within cfschedule are specific.
Thanks!
Copy link to clipboard
Copied
You might need to let us know what version/platform you are running.
I believe Adobe added some significant changes to the scheduler with ColdFusion 10. Not sure how it could handle holidays though?
Copy link to clipboard
Copied
Thanks for the reply
I'm using Coldfusion 8.
I just need to open a template page to run a precedure. I wonder If I should look at 3rd party scheduler that runs on my computer?
Copy link to clipboard
Copied
"cfschedule run monday trhough fri. enclude holidays"
Just to be clear, is that a misspelling of "include", or a typo for "exclude"? It could be either, and the answer will differ depending on what it is...?
Cheers.
--
Adam
Copy link to clipboard
Copied
Exclude.. sorry for the spelling error
Copy link to clipboard
Copied
after thinking about this this a little more..
at the beginning of my template page im going to analyze the date in a if statement.. I think this might work?
Copy link to clipboard
Copied
There are CFCs on cflib.org that can check to see if a date is a holiday, or not. Get the ones for the holidays you wish to exclude, and give that a shot. The idea of using a conditional on the page is (IMHO) a good idea.. let the scheduler run it, and let the file check for holiday status.
Although, personally, I'd use a CFSWITCH/CFCASE statement instead of a CFIF.
^_^
Copy link to clipboard
Copied
thats great.. thank you very much!