Timers with full date

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

 



> -----Original Message-----
> From: vdr-bounces@xxxxxxxxxxx
> [mailto:vdr-bounces@xxxxxxxxxxx] On Behalf Of Udo Richter
>
> No easy way to catch that, I agree. But a bi-weekly timer should be 
> simple. After recording is done, check for bi-weekly flag, and in that 
> case set a start date 14 days later. Maybe I'll give it a try and 
> develop a patch.
> 

If you were to write a patch, how about supporting the crontab format for
timers? This is pretty standard, very flexible and I'm sure there's code out
there which could be reused.

i.e.

Minute Hour DayOfMonth Month DayOfWeek Data

Where each field can have either a number specifying what to match, an
asterisk to match any, a comma seperated list of matched values, a range
(1-3) or repeating ranges (e.g. */5 for every 5 minutes.)

An example could be:
Record at 1pm every Monday and Wednesday of Jan and Feb:
0 13 * 1-2 mon,wed 1:C-61472-7-1204:etc....

Chris




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux