From owner-freebsd-questions@FreeBSD.ORG Sat Oct 6 23:27:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D56FB106566C for ; Sat, 6 Oct 2012 23:27:06 +0000 (UTC) (envelope-from darren.pilgrim@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A6F178FC16 for ; Sat, 6 Oct 2012 23:27:06 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so3357507pbb.13 for ; Sat, 06 Oct 2012 16:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=D5ltoo9zpYF9OKHWe5GS1D8fPZwCqVM79ywIpScKDV0=; b=YK0I7h7I8RcYCUf7zIx+Jet1BDe157RQJF4nEPK6/cYNKuOf7a8tFaXSyvFj9aj7ay ovwJb+O3P4aGm+DSmQqE/0ZbICvx1+YF3iyh04xvSx5pXzJbWOcN2ESdV34L2IOUTkrw JoTZDOA2gH0PYxDS9pIJFDw/uwyaJ72cwTRBIW8sVIYSL5M7ryoCv3Jw+zcL+i7izIWC zj+Gt2oJUxP2wPQ0POZYb+933duzY3GTYCM8RP5trbY70kDILKRheWLYRkoZC1qDsn8r gVeyJHuP3f9jhvcnIA1CwaoJLeLOjcNLJKfZe0/MJC7Yjw6fq4h4Hp2E3nyKQHXeO0To gfYg== Received: by 10.68.141.46 with SMTP id rl14mr41883970pbb.2.1349566025995; Sat, 06 Oct 2012 16:27:05 -0700 (PDT) Received: from [127.0.0.1] (c-76-27-220-79.hsd1.wa.comcast.net. [76.27.220.79]) by mx.google.com with ESMTPS id kt2sm8243503pbc.73.2012.10.06.16.27.04 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 16:27:05 -0700 (PDT) Message-ID: <5070BE4E.7000508@gmail.com> Date: Sat, 06 Oct 2012 16:27:10 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.6esrpre) Gecko/20120713 Thunderbird/10.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to make local periodics run before base periodics? 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: Sat, 06 Oct 2012 23:27:06 -0000 I have some periodic scripts from ports that I need to run before periodic scripts in /etc/periodic; but I can't see how to make it so. Periodic always processes /etc/periodic before $local_periodic. If I move /etc/periodic/*/999.local file to 000.local and set: local_periodic="" daily_local="/usr/local/etc/periodic/daily/*" weekly_local="/usr/local/etc/periodic/weekly/*" monthly_local="/usr/local/etc/periodic/monthly/*" Then /usr/local/etc/periodic runs first, but it's not scalable since I moved a file that mergemaster cares about. It's also noisy because 999.local generates output for all scripts, even those that are not enabled. What is the proper way to make local periodics run before base periodics?