You are correct, however if you needed to restart the app before the "go
live" date (for example unexpected server reboot) your new config would be
deployed early.  The easiest way would be to write a cfm script that copies
your new modelglue.xml into the config directory and then re-inits the app
on a schedule using cfhttp.

2009/7/24 Fernando Lopez <[email protected]>

> Somebody can correct me if I'm wrong but my understanding is that once the
> application has been loaded to memory any changes to components and XML
> files (coldspring and modelglue) won't take effect on the app until it is
> restarted (init=true).
>
> If this is true then I would say that you just move the new modelglue.xml
> to the site and then create a new Scheduled Task in CF Admin that goes off
> at the exact time you need it.
>
> The page on the scheduled task would look like
> www.yoursite.com/index.cfm?init=true .
>
> That considering you haven't changed the config settings on Coldspring. I'm
> using Unity BTW.
>
> I know there are other ways to do this maybe using ANT, however I'm not
> that involved with ANT to even suggest a solution, there maybe other people
> that can help with that idea.
>
> Hope that helps.
>
> Fernando
>
>
> On Fri, Jul 24, 2009 at 12:16 PM, Preserved Killick <[email protected]>wrote:
>
>>
>>
>> I've got a model-glue site that is undergoing major changes, and need
>> all the changes to be visible at an exact time and date.
>>
>> Is there a way to create a separate & new  modelglue.xml file and have
>> that file load at a defined time & date. Preferably using ColdFusion
>> CFML.
>>
>> Something like:
>>
>> <CFSET START = '2009-10-28 10:00:00'>
>> <CFSET NOW = Now()>
>> <cfif NOW gt START>
>> use new modelglue.xml
>> <cfelse>
>> use old modelglue.xml
>> <cfif>
>>
>> If this is possible, then how to reload??
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to