Subject: Re: Monthly Job, once-only: How?
To: Bruce Lane <kyrrin@bluefeathertech.com>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-vax
Date: 02/25/2001 19:52:41
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 25, 2001 at 10:54:45AM -0800, Bruce Lane wrote:
> Fellow VAX'ers,
>=20
> 	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.
>=20
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- <break>=20
>=20
> # 50     *       25      *       *       /usr/local/apache/conf/rc.monthly
>=20
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- <break>
>=20
> 	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 25=
th).
>=20
> 	I only want the job to run ONCE on the 25th, every month. Is this even
> possible with cron? Perhaps I need to use at or batch?
>=20
> 	The man pages and my dead-tree archives haven't helped much.

specify the hour, like:

50 9 25 * * something

to run it at 0950 on that day.

Regards,
	-is



--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBOplUdjCn4om+4LhpAQEGqggApxKJpGbAHOuthvCGTEQqaS6Zir5+/NK+
7viraH+EbKE+NVOUSH2WobXFPUoCF5lT7s33cCecBYxWU+oUQu997I4iqA6KqGTm
4w/2L/9eV9vuOrSa/UABRGKPhxzCRRfSeptlJO94nnhh4tr9nY3P1LPoIQ4rSQpZ
ekTiYzqVMM09jR9CBaIrUhPHl5RT3YaXoFsJdpwVUXUWbDsq/lmfTqL2dY1KFZ7e
FPshcag2x0fOIymTj542vXIYnND2tHlpMLCTbRZGgbaE1u6G+o9G3iGi1UTt+FmV
Dy74K40Xt/yacd0Y5fa/diqPpNCHkVoKKyGAlOySoKyZq0RBJ5KTEQ==
=UYqQ
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--