You are not logged in Log in Join
You are here: Home » Members » jmeile » Improvements to the Xron interface (Obsolete)

Log in



Folder icon Improvements to the Xron interface (Obsolete)

Please note that the Xron product is now Obsolete. It hasn't being maintained by his author since long time ago. So, I don't guarantee that the Xron product is going to work with zope versions later than 2.6.x. Indeed, somebody told me that there is a problem with the new implementation of the threading module in python 2.3.x. I only let this product here to give you some ideas if sometime you want to do a similar product.

If you are looking for a replacement for Xron, you can try:

This is just a patch which improves the interface of the Loren Stafford's Xron product version 0.0.10. The schedule mechanism is basically the same with a few changes in the __init__, reschedule, manage_edit, and manage_addXronDTMLMethod methods. I also made a change in the folder structure, I moved the dtml methods to the folder dtml (most of the zope products that I've installed have this folder, so I guess is a standard).

The only problem is that the old XronMethods are not compatible with this patch because I added 2 new properties that the old one didn't have: frequency and originalDate, and changed the type of periodDays from float to int. So, you have two options:

1- Before you intall this patch, you can copy your old XronMethods in a text file. After the installation, you can create one by one and paste the code or

2- you can make a script that converts them (I didn't do it, so if you make one, I'd appreciate if you send me a copy).

The interface will look like this:

Now: 18/Jun/2002 10:34
Start on: at : :
Frequency: 0 = Once

 Title   Type   Size   Modified   Status 
 Improvements to the Xron interface Edit object Software Release   2002-06-18 published