Re: cron: nth <weekday> of month?
- To: debian-user@lists.debian.org
- Subject: Re: cron: nth <weekday> of month?
- From: will trillich <will@serensoft.com>
- Date: Tue, 1 May 2001 13:41:09 -0500
- Message-id: <[🔎] 20010501134109.C20453@serensoft.com>
- Mail-followup-to: debian-user@lists.debian.org
- In-reply-to: <20010427090912.A32534@b3vaio.b4k4.net>; from b3@b4k4.net on Fri, Apr 27, 2001 at 09:09:12AM -0500
- References: <20010425035828.A17039@navel.introspect> <87hezduedw.fsf@cjlinux.localnet> <01042516534600.22533@twocups> <20010425153243.I17039@navel.introspect> <20010426090925.D16108@sherohman.org> <20010426123246.E13738@navel.introspect> <20010426191911.D18555@serensoft.com> <20010427090912.A32534@b3vaio.b4k4.net>
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: