
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] execute upon restart
Quoting chaim klar (hershey135@hotmail.com):
> I have some scripts that I would like to have executed automatically upon
> restart of interchange. Are there any hooks in interchange where this can be
> plugged in? If not is there any way I can force interchange to modify a file
> upon a successful restart so that the change can be detected by a cron job?
>
> Your help will be greatly appreciated.
No direct way, but you can write a module which does what you want and
then in interchange.cfg do:
Require YourModule
When the module is required, any code that is part of the initialization
will be run, of course, as with any Perl module.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
"Laughter is inner jogging." -- Norman Cousins
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users