Skip to main content
Known Participant
September 11, 2012
Question

cfschedule run monday trhough fri. enclude holidays

Hello

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

Thanks!

    Ce sujet a été fermé aux réponses.

    3 commentaires

    Known Participant
    September 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?

    WolfShade
    Legend
    September 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.

    ^_^

    Known Participant
    September 11, 2012

    thats great.. thank you very much!

    Inspiring
    September 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

    Known Participant
    September 11, 2012

    Exclude.. sorry for the spelling error

    Miguel-F
    Inspiring
    September 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?

    Known Participant
    September 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?