Skip to main content
Participant
July 2, 2009
Question

neo-cron.xml question

  • July 2, 2009
  • 1 reply
  • 1112 views

I am attempting to write a linux based script to do some changes to an admin server, I was wondering, how does the admin server recognize changes being made to an xml file such as neo-cron.xml.  I'm in a clustered environment and am having issues with jobs running twice b/c of it.  I've got a script that will make changes automatically to my neo-cron.xml to prevent them from running twice, but I'm stuck at this part.

So is there a setting I can set to tell the admin server to check for updates to the xml files ever X minutes, or is there a file I can do a touch on in order to update the time stamp for it to pick up the changes?

    This topic has been closed for replies.

    1 reply

    cbo0485Author
    Participant
    July 2, 2009

    We're using v7

    Participating Frequently
    July 3, 2009

    You could use CFSCHEDULE to create and remove scheduled tasks from

    ColdFusion instead of directly changing the xml files.

    Mack

    cbo0485Author
    Participant
    July 3, 2009

    The reason we're doing it by Linux Scripting is b/c with our setup we have two admin servers, one on each cluster, and whenever we deploy new code, we have to restart each instance of the j2ee server that Coldfusion runs on.  In doing this the files on the first server get copied over, so using CFSCHEDULE would end up with us either deleting the jobs on both servers or none of them.