You are not logged in Log in Join
You are here: Home » Members » lstaffor » Xron -- Scheduled Method Dispatcher » Xron » View Document

Log in
Name

Password

 

Xron

Xron Version 0.0.10 Date: 2001/11/27

  1. Made compatible with Zope 2.4.x
  2. 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

  1. 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

  1. Derived Xron product from ZScheduler product Version 0.0.7 in accord with license.
  2. Changed the Trigger tab method so it won't deadlock when Zope is in single thread mode.
  3. 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 method manage_addXronDTMLMethod, and its meta-type Xron DTML Method This change anticipates the possibility of implementing other kinds of scheduled methods (Xron Python Method, for example).
  4. 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.
  5. Simpified the manage_catalogView for the Schedule.
  6. 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:

  1. 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
  2. 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.