<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Wed, 2009-07-22 at 14:38 +0200, Aur&#233;lien G&#226;teau wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
S&#233;bastien Renard wrote:
&gt; Le mardi 21 juillet 2009 11:24:47, Jonas Christian Drewsen a &#233;crit :
&gt;&gt;     I think quaterly is a pretty common term for &quot;every three months&quot;.
&gt;&gt;    
&gt;&gt; E.g. Dictionary.com : &quot;a periodical issued every three months.&quot;.
&gt;&gt;
&gt;&gt; I myself need it for &quot;quaterly report&quot; tasks :)
&gt; 
&gt; Sure, but that's not what your patch seems to do. It shedule a task for 
&gt; Janury, April, July and October whatever the current month is. So, as we are 
&gt; in July everything is fine but if you define a quarterly task in august, the 
&gt; next occurrence will be in october, not november as it could be expected.
&gt; 
&gt; Both two behaviour are correct, but I would like to be sure that you did it 
&gt; intentionnaly.

I am beginning to wonder whether we should stop adding too many
recursion keywords and instead provide a cron-like syntax for advanced
users.

A quarterly report like Jonas implemented would be something like this:

  t_recurs 12 0 0 0 1-4-7-10 *

or:

  t_recurs 12 0 0 0 1-12/3 *

I think it would fit quite well with the Pythonic &quot;make simple things
simple and complex things possible&quot;.
</PRE>
</BLOCKQUOTE>
<BR>
I think it is great idea to add an advanced method of entering recursion statements. I do think that the cron-syntax lacks a lot in this regard though. For example, it cannot be used to express the simple rules that are currently available. <BR>
<BR>
Personally I think the best solution would be to add the new 'quarterly' keyword (and not quaterly - thx David). Then make a wizard like interface to the full rfc2445, that the dateutils is build upon, for the advanced cases.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
(and this will give me a way to be reminded to get my paper trashcan on
the street at 19:00 on monday every two weeks: &quot;t_recurs 12 0 19 * *
mon/2&quot; :))

</PRE>
</BLOCKQUOTE>
&quot;0 19 * * mon/2&quot; is not&nbsp; a valid cron expression afaik.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Aur&#233;lien
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>