Re: Cron, > 1 month but < 2 months

2012-03-13 Thread Dom
On 13/03/12 06:26, Chris Bannister wrote: On Tue, Mar 13, 2012 at 03:46:49AM +, T o n g wrote: On Tue, 13 Mar 2012 16:32:36 +1300, Chris Bannister wrote: root@tal:~# apt-cache show ddate N: Unable to locate package ddate E: No packages found My ddate comes with the util-linux package. r

Re: Cron, > 1 month but < 2 months

2012-03-12 Thread Chris Bannister
On Tue, Mar 13, 2012 at 03:46:49AM +, T o n g wrote: > On Tue, 13 Mar 2012 16:32:36 +1300, Chris Bannister wrote: > > root@tal:~# apt-cache show ddate > > N: Unable to locate package ddate > > E: No packages found > > My ddate comes with the util-linux package. root@tal:~# which ddate root@ta

Re: Cron, > 1 month but < 2 months

2012-03-12 Thread T o n g
On Tue, 13 Mar 2012 16:32:36 +1300, Chris Bannister wrote: >> arnt@nb6:~$ date &&ddate >> Fri Mar 9 15:25:34 CET 2012 >> Today is Pungenday, the 68th day of Chaos in the YOLD 3178 arnt@nb6:~$ >> ddate 14 3 2012 >> Pungenday, Chaos 73, 3178 YOLD >> arnt@nb6:~$ ddate 15 3 2012 >> Prickle-Prickle, D

Re: Cron, > 1 month but < 2 months

2012-03-12 Thread Chris Bannister
On Fri, Mar 09, 2012 at 03:35:22PM +0100, Arnt Karlsen wrote: [..] > arnt@nb6:~$ date &&ddate > Fri Mar 9 15:25:34 CET 2012 > Today is Pungenday, the 68th day of Chaos in the YOLD 3178 > arnt@nb6:~$ ddate 14 3 2012 > Pungenday, Chaos 73, 3178 YOLD > arnt@nb6:~$ ddate 15 3 2012 > Prickle-Prickle, D

Re: Cron, > 1 month but < 2 months

2012-03-12 Thread Arnt Karlsen
On Fri, 9 Mar 2012 12:08:38 +0100, Jochen wrote in message <20120309110838.gn11...@wasteland.homelinux.net>: > Florian Ernst: > > Hello there, > > > > On Fri, Mar 09, 2012 at 05:09:23AM +, T o n g wrote: > >> Is there any easy way to schedule a job for a duration that is > >> greater than on

Re: Cron, > 1 month but < 2 months

2012-03-11 Thread Karl Vogel
>> On Sun, 11 Mar 2012 01:42:25 -0600, Christofer C. Bell wrote: C> According to this page[1], the following works for that: C>* * */45 * * your_scheduled_task C> I've not tried it myself. I'd use a timestamp file in conjunction with find; what happens when your 45-day interval crosses

Re: Cron, > 1 month but < 2 months

2012-03-11 Thread Camaleón
On Sun, 11 Mar 2012 01:42:25 -0600, Christofer C. Bell wrote: > On Fri, Mar 9, 2012 at 12:35 PM, Camaleón wrote: >> On Fri, 09 Mar 2012 05:09:23 +, T o n g wrote: >> >>> Is there any easy way to schedule a job for a duration that is greater >>> than one month but shorter than 2 months? Any du

Re: Cron, > 1 month but < 2 months

2012-03-10 Thread Christofer C. Bell
On Fri, Mar 9, 2012 at 12:35 PM, Camaleón wrote: > On Fri, 09 Mar 2012 05:09:23 +, T o n g wrote: > >> Is there any easy way to schedule a job for a duration that is greater >> than one month but shorter than 2 months? Any duration will do, as long >> as it is easy to schedule. > > Mmm... I wo

Re: Cron, > 1 month but < 2 months

2012-03-09 Thread Camaleón
On Fri, 09 Mar 2012 05:09:23 +, T o n g wrote: > Is there any easy way to schedule a job for a duration that is greater > than one month but shorter than 2 months? Any duration will do, as long > as it is easy to schedule. Mmm... I wonder if using steps values (*/*) in crontab could be possib

Re: Cron, > 1 month but < 2 months

2012-03-09 Thread Florian Ernst
On Fri, Mar 09, 2012 at 12:08:38PM +0100, Jochen Spieker wrote: > Florian Ernst: > > On Fri, Mar 09, 2012 at 05:09:23AM +, T o n g wrote: > >> Is there any easy way to schedule a job for a duration that is greater > >> than one month but shorter than 2 months? Any duration will do, as long >

Re: Cron, > 1 month but < 2 months

2012-03-09 Thread Jochen Spieker
Florian Ernst: > Hello there, > > On Fri, Mar 09, 2012 at 05:09:23AM +, T o n g wrote: >> Is there any easy way to schedule a job for a duration that is greater >> than one month but shorter than 2 months? Any duration will do, as long >> as it is easy to schedule. > > Easy? Hmmm. > > 0 1

Re: Cron, > 1 month but < 2 months

2012-03-09 Thread Florian Ernst
Hello there, On Fri, Mar 09, 2012 at 05:09:23AM +, T o n g wrote: > Is there any easy way to schedule a job for a duration that is greater > than one month but shorter than 2 months? Any duration will do, as long > as it is easy to schedule. Easy? Hmmm. 0 12 * * 1 [ $(expr $(/bin/date +\%