You could put the initialization code in the __init__.py file of a context.

We use that method to initialize certain tasks for different contexts in our
appserver.

Ben

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brett
Funderburg
Sent: Thursday, September 26, 2002 3:52 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] [TaskKit] Reinstalling tasks after appserver
restart


I have a couple of TaskKit tasks that I need to be able to reinstall upon
appserver restart.
What would be the correct way to do this?
The relevant parameters for each task are persisted and can be read from
configuration files on disk.
I was planning on editing main() in Launch.py but I'm not sure this is the
correct approach.

thanks,

brett




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to