Subject: Re: Monthly Job, once-only: How?
To: Bruce Lane <kyrrin@bluefeathertech.com>
From: Matt London <matt@knm.yi.org>
List: port-vax
Date: 02/25/2001 18:55:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Sun, 25 Feb 2001, Bruce Lane wrote:

> Fellow VAX'ers,
> 
> 	I have a job in my crontab that I want to run once only on the 25th day of
> every month. The entry (NetBSD 1.5) looks like this.
> 
> -=-=-=-=-=-=-=-=- <break> 
> 
> # 50     *       25      *       *       /usr/local/apache/conf/rc.monthly
> 
> -=-=-=-=-=-=-=-=- <break>
> 
> 	The reason it's commented out right now is because I discovered it was
> running at 50 minutes past every hour on this day (which is indeed the 25th).

That's cause you told it to run at 50mins past every hour on the 25th of
overy month on any day of the week.

try:

50	0	25	*	*	/usr/local/apache/conf/rc.monthly

to run it at 50mins past midnight on the 25th of every month

- -- Matt

- ---
E-mail:
  matt@pkl.net, matt@knm.yi.org, matt@printf.net
  matt@m-techdiagnostics.ltd.uk, matthew.london@stud.umist.ac.uk
  mattl@vcd.student.utwente.nl, mattl@fnmail.com, mlondon@mail.talk-101.com
Web Page:
  http://knm.yi.org/
  http://pkl.net/~matt/

PGP Key fingerprint = 00BF 19FE D5F5 8EAD 2FD5  D102 260E 8BA7 EEE4 8D7F
PGP Key http://knm.yi.org/matt-pgp.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6mVUvJg6Lp+7kjX8RAnuzAKClzah0Ixt/hbKpOf3/f8bMql6+tACgrnHa
T7Hn8L0aerbWdwEvlir6ZxY=
=hkFz
-----END PGP SIGNATURE-----