pyatcron-devel-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pyatcron-devel-list] New files in CVS


From: Julien Olivier
Subject: Re: [Pyatcron-devel-list] New files in CVS
Date: Tue, 06 Apr 2004 17:11:29 +0100

On Mon, 2004-04-05 at 15:58, NICOLOVICI Xavier wrote:
> Hi there,
> 
> Long time not seeing anything on this mailing list, huh? ;-)
> 
> Ok, I've been very busy too during the past few weeks, but I had time to 
> start writing some code. Everything has been uploaded into CVS.
> 
> Mainly, there is 4 files: parser.py, scheduler.py, schedulelist.py and 
> task.py.
> 
> I didn't had time to write the according doc, neither finalizing the 
> different classes those sources provides. This is mainly a draft of what 
> could be done the backend part of the PyAtCron system (this part which 
> handles the job scheduler systems).
> 
> I had some new ideas that I didn't shared on the mailing list, so read the 
> source and get back to me for any questions.

Hi Xavier. Glad to hear from you !

To be honest, I had somewhat assumed that the project was dead since I
didn't see any email on the mailing list since months.

Anyway, I'd be get back to work.

I've quickly looked at what you uploaded and I like it. I only have 2
little problems with scheduler.py.

According to the diagram, the scheduler should have a weekdays array
instead of a single weekday, and it should also have a monthdays array
(in case you want to set the task to occur - for example - on the 23rd
of each month).

I attached a tiny patch to fix that.

PS: It's been a long time without any work on the project. So, would you
be very kind to let me know what the short-time objectives are for now ?
What are you *not* going to implement and would like me to do ?

Thanks !

-- 
Julien Olivier <address@hidden>
Index: pyatcron/src/lib/scheduler.py
===================================================================
RCS file: /cvsroot/pyatcron/pyatcron/src/lib/scheduler.py,v
retrieving revision 1.1
diff -r1.1 scheduler.py
12c12
<         if len(timerList) == 6:
---
>         if len(timerList) == 7:
14,19c14,20
<             self.minutes = timerList[0]
<             self.hours   = timerList[1]
<             self.days    = timerList[2]
<             self.months  = timerList[3]
<             self.weekday = timerList[4]
<             self.year    = timerList[5]
---
>             self.minutes   = timerList[0]
>             self.hours     = timerList[1]
>             self.days      = timerList[2]
>             self.months    = timerList[3]
>             self.weekdays  = timerList[4]
>             self.monthdays = timerList[5]
>             self.year      = timerList[6]
38c39
<                 self.weekday,self.year,self.task]
---
>                 self.weekdays,self.monthdays,self.year,self.task]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]