Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Dec 2007 16:58:41 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Drew Tomlinson <drew@mykitchentable.net>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   [Fwd: Re: Help with Crontab]
Message-ID:  <4759D021.1080601@daleco.biz>

next in thread | raw e-mail | index | archive | help
Kevin Kinsey wrote:

] Well, as the sage said, "the light at the end of the
] tunnel is an oncoming train."  Note the word "restricted"
] there, and realize that it means that both fields are
] checked and the "job" is constrained by both of them.
]
] In other words, any of these should mail you the FBSD
] COPYRIGHT file on Sundays only at 4:30 a.m.:
]
] 30   4   *   *   Sun   /bin/cat /COPYRIGHT
] 30   4   *   *   0     /bin/cat /COPYRIGHT
] 30   4   *   *   7     /bin/cat /COPYRIGHT
]
] So, "yes, Virginia, there is a Sunday Cron."
] ;-)

BUT:

> Drew Tomlinson wrote:
> I'm trying to use cron to run a script on the     first Sunday of every 
> month at 0930.  I used this entry in the crontab:  ^^^^

Doh!

I suppose you are right after all, and the script needs modified.

I suppose I'll have my crow with hot mustard, plx.  Esp. since 
I wrote an article a few years ago about scheduling for the last
day of the month only using an external script....

Sorry for the noise,

Kevin Kinsey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4759D021.1080601>