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

Re: cron: nth <weekday> of month?



On Fri, Apr 27, 2001 at 09:09:12AM -0500, b3 wrote:
> On Thu, Apr 26, 2001 at 07:19:11PM -0500, will trillich wrote:
> > what if we propose something like
> > 
> > 	#min hr monthday month weekday cmd
> > 	   0  1     1      1      *    echo Jan 1 1:00am
> > 	#and for the new concepts, which could use tweaking:
> > 	   0  1    -1      *      *    echo last-of-every-month, 1:00am
> > 	   0  1     *      *   mon-fri echo mon,tue,wed,thu,fri at 1:00am
> > 	   0  1     *      *    wed1   echo first wednesday each month, 1am
> > 	   0  4     *      *    sun-1  echo last wednesday each month, 4am
> 
> I'm with you up to the last one...shouldn't 'sun-1' refer to the last
> *sunday* of a month?  Otherwise I'm unsure as to the logic of having 'wed1'
> refer to the first wednesday, but 'sun-1' refer to the last
> wednesday...maybe I'm missing something?
> 
> Of course, it's entirely possible this is just a typo, in which case, all is
> right with the world ;)

didn't you get the memo? sun-1 is now a aynonym for wed.

heh. i understand your commentary, now that i re-read my
garblings. heh.

-- 
DEBIAN NEWBIE TIP #19 from Dave Sherohman <esper@sherohman.org>
:
How do you determine WHICH NETWORK SERVICES ARE OPEN (active)?
Try "netstat -a | grep LISTEN". To see numeric values (instead
of the common names for services using a particular port) then
try "netstat -na" instead. For more info, look at "man netstat".

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: