From owner-freebsd-questions@freebsd.org Tue Sep 8 06:16:20 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6922A9CCC96 for ; Tue, 8 Sep 2015 06:16:20 +0000 (UTC) (envelope-from gregory.orange@calorieking.com) Received: from pandora.au.calorieking.net (mail.au.calorieking.net [115.70.179.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15AFC1092 for ; Tue, 8 Sep 2015 06:16:19 +0000 (UTC) (envelope-from gregory.orange@calorieking.com) Received: from pandora.au.calorieking.net (localhost [127.0.0.1]) by pandora.au.calorieking.net (Postfix) with ESMTP id 5C054DD for ; Tue, 8 Sep 2015 14:16:11 +0800 (WST) X-Virus-Scanned: amavisd-new at calorieking.com Received: from pandora.au.calorieking.net ([127.0.0.1]) by pandora.au.calorieking.net (mail.au.calorieking.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2KfK1oXav7aR for ; Tue, 8 Sep 2015 14:16:10 +0800 (WST) Received: from egeria.internal (egeria.ne1.au.calorieking.net [192.168.2.111]) by pandora.au.calorieking.net (Postfix) with ESMTPSA id A68418 for ; Tue, 8 Sep 2015 14:16:10 +0800 (WST) Subject: Re: cron.d / cron.weekly To: freebsd-questions@freebsd.org References: <201509080543.t885hVCM032666@deneb.dwf.com> From: Gregory Orange Message-ID: <55EE7D27.1050407@calorieking.com> Date: Tue, 8 Sep 2015 14:16:07 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <201509080543.t885hVCM032666@deneb.dwf.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 06:16:20 -0000 Hi Reg, On 08/09/15 13:43, reg@dwf.com wrote: > Linux like systems have a directories cron.{daily,weekly,...} > where you can put scripts to run daily/weekly, etc. You have /etc/crontab, user crons which can be configured via crontab(1), and periodic(8) - exactly which you use is up to you I guess. I tend to add my own system tasks to the root crontab, or to /etc/crontab, but you could add scripts somewhere in /usr/local/etc/periodic/ Note that periodic is scheduled from /etc/crontab, and the system default settings can be configured from /etc/periodic.conf (overrides to /etc/defaults/periodic.conf). HTH, Greg.