From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: mcron Date: Sat, 04 Aug 2018 18:42:23 -0600 Message-ID: <87pnyxiqz4.fsf@jnanam.net> References: <87ftzug0g3.fsf@jnanam.net> <874lgazfkn.fsf@gmail.com> <87y3dl25od.fsf@jnanam.net> <87h8k9okn4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fm783-0003Gk-7R for help-guix@gnu.org; Sat, 04 Aug 2018 20:42:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fm780-0000NL-4R for help-guix@gnu.org; Sat, 04 Aug 2018 20:42:39 -0400 Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:44340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fm77z-0000NF-Ug for help-guix@gnu.org; Sat, 04 Aug 2018 20:42:36 -0400 Received: by mail-io0-x22b.google.com with SMTP id q19-v6so8096739ioh.11 for ; Sat, 04 Aug 2018 17:42:35 -0700 (PDT) In-reply-to: <87h8k9okn4.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix@gnu.org Many thanks, Pierre. Can one also mix Vixie-style things in `~/.config/cron/` ? It probably doesn't matter since I think I've figured out mcron native syntax. I was looking everywhere in "(mcron) Top" for an example of "do X every N minutes", but finally figured out that this works (at least I hope so): --8<---------------cut here---------------start------------->8--- (job '(next-minute (range 0 60 5)) "dosomethingevery5minutes") (job '(next-minute (range 0 60 10)) "dosomethingevery10minutes") --8<---------------cut here---------------start------------->8--- -- Benjamin Slade - https://babbagefiles.xyz `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19)) '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org ) `(Choose Linux ,(Choose Freedom) . https://linux.com )