From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: mcron Date: Sun, 05 Aug 2018 00:02:39 +0200 Message-ID: <87h8k9okn4.fsf@gmail.com> References: <87ftzug0g3.fsf@jnanam.net> <874lgazfkn.fsf@gmail.com> <87y3dl25od.fsf@jnanam.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fm4dL-0000mQ-Rs for help-guix@gnu.org; Sat, 04 Aug 2018 18:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fm4dH-0000Xg-04 for help-guix@gnu.org; Sat, 04 Aug 2018 18:02:47 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:53779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fm4dG-0000X8-Of for help-guix@gnu.org; Sat, 04 Aug 2018 18:02:42 -0400 Received: by mail-wm0-x235.google.com with SMTP id s9-v6so9902733wmh.3 for ; Sat, 04 Aug 2018 15:02:42 -0700 (PDT) In-reply-to: <87y3dl25od.fsf@jnanam.net> 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: Benjamin Slade Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable No, mcron at the user-level is even simpler, simply tweak your configuration file and start `mcron`. Example job in ~/.config/cron/job.guile: =2D-8<---------------cut here---------------start------------->8--- (job '(next-hour (range 0 24 3)) "updatedb") =2D-8<---------------cut here---------------end--------------->8--- Once mcron is running, you can test the schedule by calling `mcron --schedu= le=3D5` to list the 5 next scheduled jobs. Have a look at "(mcron) Top", it's a very short read ;) =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAltmIn8ACgkQm9z0l6S7 zH/6QQf/d12JE3eSpOAWutV34VnE+dvQHvmEXsf5LlJ9vDImT4uTvnnkvv7y1PgR dVxxTiygtZmTI8JgdaRZaZBGDjKGXhWFIBnVbBzYjmT+jPY9jbLefbpZXqIHEXwy Z9RAUBMb6RVz57qp6dObZdT0HVJmahfeMt4DS+CbXv9tuPeAm5V8b3rTDf0HOijp de/CnVV6ws3Jott3hOyhr+agvJKFux2hhNFuSMXcXaodvn5vc8Vn8xoxQUfUX7zY On4QGqEvLV41TLRHGzBdKBCNlWw0vSCnien5BqESXg27LnVx0xj/Yuvd2b8cZ+2w 9UZlzz+wYaHAc2+gdRNTpp1/ZxRsNw== =tRxR -----END PGP SIGNATURE----- --=-=-=--