Xron
Xron Version 0.0.10 Date: 2001/11/27
- Made compatible with Zope 2.4.x
- Optimized handling of ZODB connection.
Thanks to Joseph Wayne Norton for providing most of these patches.
Xron Version 0.0.9 Date: 2000/08/10
- Added simple rescheduling capability to the "reschedule" method. Now you can make repetitive events without creating a subclass.
Xron Version 0.0.8 Date: 2000/07/28
- Derived Xron product from ZScheduler product Version 0.0.7 in accord with license.
- Changed the Trigger tab method so it won't deadlock when Zope is in single thread mode.
- Changed several names to improve consistency and comprehensibility.
The most significant API change is that the class for Sheduled Event is now
XronDTMLMethod
, its add methodmanage_addXronDTMLMethod
, and its meta-typeXron DTML Method
This change anticipates the possibility of implementing other kinds of scheduled methods (Xron Python Method, for example). - Added
meta_type
to the Schedule catalog. Derived classes which have their own meta-type will be identifiable in the Schedule listing. You will have to delete your old catalog, so that Xron can create a new one. - Simpified the manage_catalogView for the Schedule.
- Encapsulated the remote procedure call interface, so that you can conveniently replace it. The existing RPC interface is Client.py, which uses the HTTP protocol. You may want to provide a different RPC interface that uses, for example, the HTTPS protocol.
Upgrading from ZScheduler:
No automatic upgrade path has been provided. Before installing Xron, you should delete any subclasses based on ZEvent (though you may want to save any significant text for pasting into new Xron methods), delete the Schedule object, then delete the ZScheduler product. You may have to change some identifiers to their Xron synonyms. Then delete the ZEvents.
Known Problems:
- For Zope version 2.2.0 you will have to patch Client.py. See collector item #1480 http://classic.zope.org:8080/Collector/1480/view
- On Linux, if you try to start Zope as user "root", Zope may hang during its product initialization phase, if Xron is being initialized for the first time. Try starting Zope as user "nobody", at least this one time. After Xron has created its Schedule object, there should be no further problem.