Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfschedule run monday trhough fri. enclude holidays

New Here ,
Sep 11, 2012 Sep 11, 2012

Hello

Is this possible to set up like this? It looks like the variables within cfschedule are specific.

Thanks!

808
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 11, 2012 Sep 11, 2012

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 11, 2012 Sep 11, 2012

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 11, 2012 Sep 11, 2012

"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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 11, 2012 Sep 11, 2012

Exclude.. sorry for the spelling error

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 11, 2012 Sep 11, 2012

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 11, 2012 Sep 11, 2012

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.

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 11, 2012 Sep 11, 2012
LATEST

thats great.. thank you very much!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources