From owner-freebsd-questions@FreeBSD.ORG Mon Jun 8 15:39:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51E0C1065792 for ; Mon, 8 Jun 2009 15:39:43 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 18CC28FC21 for ; Mon, 8 Jun 2009 15:39:42 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n58FbE5i059373; Mon, 8 Jun 2009 11:37:15 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n58FbEJd059372; Mon, 8 Jun 2009 11:37:14 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 8 Jun 2009 11:37:14 -0400 From: Jerry McAllister To: Peter Andreev Message-ID: <20090608153714.GA59348@gizmo.acns.msu.edu> References: <4A2D0A5C.8010809@webrz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Jos Chrispijn , freebsd-questions@freebsd.org Subject: Re: Cronjob X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 15:39:44 -0000 On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote: > may be this solution will help you: > > * * 31 jan,mar,may,jul,aug,oct,dec * > * * 30 apr,jun,sep,nov * > * * 28 feb * > > or: > > * * 31 1/2 * > * * 30 4/2 * > * * 28 2 * Don't forget leapyear. ////jerry > > 2009/6/8 Jos Chrispijn > > > I would like to execute a script on every last day of the month in my > > crontab. > > Can someone tell me how I should solve that as it doesn't know which month > > day is the last day of the month? > > Solving this in the script to be executed is no option. > > > > Thanks, Jos > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"