From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-157707-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5B5F313877A for <garchives@archives.gentoo.org>; Sat, 2 Aug 2014 09:28:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA9FEE096C; Sat, 2 Aug 2014 09:28:03 +0000 (UTC) Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D4E7E08DA for <gentoo-user@lists.gentoo.org>; Sat, 2 Aug 2014 09:28:02 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id q58so5327646wes.32 for <gentoo-user@lists.gentoo.org>; Sat, 02 Aug 2014 02:28:01 -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:references :in-reply-to:content-type:content-transfer-encoding; bh=c83ScrJskeGehtGjYN0vBn5uKa2P6XfU644D+lCQFHA=; b=HS5QUpqdS4bbBpEisz6g5lmq3H8WlfTaeNTBG3iN/7EmDYiF9Cq7l+LavWBweu/xis lNmC14GZO8m3OAuU2EVwUY1kKzB8Xkk5FqxUuPYcMygvSSa1O4NwxaJdITA8tmS44YHR MYlwioCIC1PStDBO6A0SqPlQDvfo8IDGYXBgMlVo3BWb6wrOyCavbMhUx987zPLhCvRa KvIOWym/LuFP+O4DjOH6MUt+cHKTxDRmAxloojnq/dDF2WdjBy8w1UTlVfEhUnOR5qKj v3vbQ12dtEut76ffL3oewtTdREMkjx/OP280+YDUhkbE7zNxWkcabEuNlvL7YuMxjLnD 5NVg== X-Received: by 10.180.86.65 with SMTP id n1mr2326649wiz.41.1406971681155; Sat, 02 Aug 2014 02:28:01 -0700 (PDT) Received: from [172.20.0.41] (105-237-190-183.access.mtnbusiness.co.za. [105.237.190.183]) by mx.google.com with ESMTPSA id u10sm17426126wix.14.2014.08.02.02.28.00 for <gentoo-user@lists.gentoo.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Aug 2014 02:28:00 -0700 (PDT) Message-ID: <53DCAEED.4020902@gmail.com> Date: Sat, 02 Aug 2014 11:27:09 +0200 From: Alan McKinnon <alan.mckinnon@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Recommendations for scheduler References: <53DBCF34.6060601@gmail.com> <slrnlto02n.b2j.martin@lounge.imp.fu-berlin.de> In-Reply-To: <slrnlto02n.b2j.martin@lounge.imp.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 40503039-f6dc-4e5a-b162-c81f62609ab2 X-Archives-Hash: ff37ef135087751cfa40e16b4d638d21 On 01/08/2014 23:02, Martin Vaeth wrote: > Alan McKinnon <alan.mckinnon@gmail.com> wrote: >> >> But cron has only one event trigger: wall-clock time. And it's a very >> blunt weapon. I'm looking for recommendations of alternative schedulers >> that satisfy real-world business needs that need some other event >> trigger than what the time is right now. > > I had a similar need recently, and since the discussion in > > https://forums.gentoo.org/viewtopic-t-992780-highlight-.html Interesting thread :-) Conceptually, your needs are the same as mine - sequence defined by something other than wall-clock time. The responders there do the same thing as I experience - tunnel vision with regard to cron. Sysadmins are used to cron and sadly most of us want to ram a purely cron-based solution into places where it most certainly does not belong. Business rules very seldom fit easily into a cron model, they usually rely on a defined sequence > > had led to nothing satisfactory for me, I have written a > scheduler tool which serves my needs > (which might very well differ from yours...): > > The corresponding tool is still in beta testing phase: > https://github.com/vaeth/schedule/ > > You can install it from the mv overlay (available over layman). Nice, thanks for the link :-) Now I have two projects to evaluate. -- Alan McKinnon alan.mckinnon@gmail.com