[ic] Set variable to query result at start-up?

Jon Jensen jon at endpoint.com
Thu Feb 14 17:03:18 EST 2008

On Thu, 14 Feb 2008, Davor Ocelic wrote:

>> I've determined this won't work, because the database connection isn't 
>> established at the time I need it to be in order to run the query. I 
>> really have to do this inside the catalog.cfg somehow, and after the 
>> point where the Database directives have been processed.
> If IC Jobs are mimicking Unix cron in a way, how about adding support 
> for special time specification in style of Unix cron, but instead of 
> @reboot like in Cron, we'd call it @startup and/or @reconfig. It would 
> run in catalog context, after catalog is configured, and once for 
> @startup, or each time for @reconfig.

That sounds like it could work, as long as it happened before forking any 
child processes so that the changes were guaranteed to happen before any 
processing happens.


Jon Jensen
End Point Corporation

More information about the interchange-users mailing list