From owner-freebsd-questions@FreeBSD.ORG Mon Jun 8 14:59:46 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 6F3E5106567F for ; Mon, 8 Jun 2009 14:59:46 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 038AB8FC13 for ; Mon, 8 Jun 2009 14:59:45 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: by ewy8 with SMTP id 8so4176855ewy.43 for ; Mon, 08 Jun 2009 07:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=MP5cVajMg6D/Eoa62jb2jH2cKK/vhzsY70u9tWpECF4=; b=NhdlCVjB6Xy22Mb2J6sOVMlSvHycgnemCbekSgFvVxhlHSIyUgoh1uLLIDCrl5Wyo/ 7zdV9/XReQoPeupVsOs75Op2XME1AmEzfwMy+vvB/VaH8zgjps/8VW3yyJ0b8EM8DYfR muG5/a3tiDi6EdDNkebyAH8NafF2d7CAdALhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nVrogPCvjJAw1xTyrG6sFhqUL71j8Ibjnn9xCY5+fMsgi2xS26mjweFbXBvaDrIO1P EANA8yJK9jwS5AjzNrnV1CJNVXfzlNp7NAOtBU3UbrUEZ9zfG/JNIuKhFqFvnt31bRlt tddXJmNYA1xpQnuUWFDcFgwDBSnBCpelBDW+A= MIME-Version: 1.0 Received: by 10.216.7.209 with SMTP id 59mr2396030wep.213.1244471517656; Mon, 08 Jun 2009 07:31:57 -0700 (PDT) In-Reply-To: <4A2D0A5C.8010809@webrz.net> References: <4A2D0A5C.8010809@webrz.net> Date: Mon, 8 Jun 2009 18:31:57 +0400 Message-ID: From: Peter Andreev To: Jos Chrispijn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 14:59:47 -0000 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 * 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" >