From owner-freebsd-questions@FreeBSD.ORG  Fri May 20 01:03:38 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3D07F16A4CE
	for <freebsd-questions@freebsd.org>;
	Fri, 20 May 2005 01:03:38 +0000 (GMT)
Received: from wonkity.com (wonkity.com [67.158.26.137])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9D1A043D77
	for <freebsd-questions@freebsd.org>;
	Fri, 20 May 2005 01:03:37 +0000 (GMT)
	(envelope-from wblock@wonkity.com)
Received: from wonkity.com (localhost [127.0.0.1])
	by wonkity.com (8.13.3/8.13.1) with ESMTP id j4K13W1S026955;
	Thu, 19 May 2005 19:03:32 -0600 (MDT)
	(envelope-from wblock@wonkity.com)
Received: from localhost (wblock@localhost)
	by wonkity.com (8.13.3/8.13.1/Submit) with ESMTP id j4K13WjN026952;
	Thu, 19 May 2005 19:03:32 -0600 (MDT)
	(envelope-from wblock@wonkity.com)
Date: Thu, 19 May 2005 19:03:32 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
To: Odhiambo Washington <wash@wananchi.com>
In-Reply-To: <20050519224912.GE23045@ns2.wananchi.com>
Message-ID: <20050519185952.F26899@wonkity.com>
References: <20050519224912.GE23045@ns2.wananchi.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6
	(wonkity.com [127.0.0.1]); Thu, 19 May 2005 19:03:32 -0600 (MDT)
cc: freebsd-questions@freebsd.org
Subject: Re: How do I run this cron job?
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 May 2005 01:03:38 -0000

On Fri, 20 May 2005, Odhiambo Washington wrote:

> Perhaps trivial....
>
> How do I run a cron job at the end of every month?

Your question is a little unclear.  Do you mean "how do I run a job at 
the end of a month when the months are not the same length so I can't 
use a fixed day-of-the-month value?"

If that's the question, then you might consider running it just after 
midnight on the first of the next month.

-Warren Block * Rapid City, South Dakota USA