Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id C865A780794 for <~alpine/users@lists.alpinelinux.org>; Sun, 21 Aug 2022 11:43:21 +0000 (UTC) Received: by mail-vs1-f51.google.com with SMTP id o123so8537116vsc.3 for <~alpine/users@lists.alpinelinux.org>; Sun, 21 Aug 2022 04:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=1YUUDzh0dKxuLC/+GXXeRrDtsh9h4iafE7BRD33++g8=; b=CMBXZRIVwIP/4RydbAXTutjseEaU1zmHdxRTNqe6ZmFVjGbD9NRzCuwYS8Cis8j067 g4QO0c33Q5p0vZI2bHwrjeVjryxVp+3KvO3QtL5I8dHqRJsLqQE3ZsI/LHR48aPbvZa7 d6WcD3o34wXAh8HyMh0M86BUmUZr9F4E2IU5aLfip6MUQl+kthhRXOx7aDDwWjSX3wJa C/HXhyz0hyCdrEROp8l9YJWzIIg1oEZgMV8DqwQ5DyOUzRGuHVn2CKTrlP7N/6f0g1ZT UteahBYdY3VB0VIPlISGYR6MRFh1v8swjdmW1BpqvdGnW2TEbCSkX05CQHiCFAuWcXph c1zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=1YUUDzh0dKxuLC/+GXXeRrDtsh9h4iafE7BRD33++g8=; b=CAjn1kVGUb6mfRSaMCCacyAnyO76PW4BJAJhGu6o2343ZkzwvkYFQiiBHtAOgjsS8A wHWvBZREMMG7zf+zJ7rVO2Ij5lUVsR7bzqeFhoBS0uQyQ0D1V09fI4k6htprqex4iI2f t4GgkrvKsoLrtZCobL2LZkZcRhnHGcGv6NYw8Kx3iSOy1IZaf3WTTFqPdUxWPAds6+6X oKMzR5gAmdrv5TpoZHYUUod8hgPrdhFzmSQOcI80j5J9nmnsxmRKL+E5JkMOLgdu3gut +X4sfM8VkuSB5CSxWbV8lbkbylpPUsvm6Yp1ml9qa91kPLAyj2vtLH66A43+rdacRSDz Sjdg== X-Gm-Message-State: ACgBeo1qyuu6w4W3yXSUqybqZ8n+thG9wY+5w6v6iDAp7VOO2mUPF9tA tZm4GYFHTfwH6eb8h3OZZZLHiwZVa8PPYxk+Puo= X-Google-Smtp-Source: AA6agR7obMYiehguNQpGR4UYt96TKra9PTsVWcGdhNSWNIDzyDLqLVrm6FsPHiyghWHLhOdHClkXxcXUqhX9CzbWe+I= X-Received: by 2002:a05:6102:3a10:b0:388:6f3a:8d2a with SMTP id b16-20020a0561023a1000b003886f3a8d2amr5527486vsu.76.1661082200058; Sun, 21 Aug 2022 04:43:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Konstantin Kulikov Date: Sun, 21 Aug 2022 14:43:09 +0300 Message-ID: Subject: Re: Origin of /etc/periodic in Alpine To: Jordan Christiansen Cc: Alpine Linux users ML <~alpine/users@lists.alpinelinux.org> Content-Type: text/plain; charset="UTF-8" at least debian 6 from 2014 had similar crontab 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) And run-parts manpage mentions 1994 as copyright. So I guess the idea is pretty old. On Sat, Aug 20, 2022 at 8:45 PM Jordan Christiansen wrote: > > Does anyone know the history of /etc/periodic in Alpine? As far as I > know, periodic was invented by FreeBSD[1], and I haven't found any > other systems that support it, not even other BSDs. I think the > implementation of periodic in Alpine[2] is very simple and elegant. > FreeBSD's implementation may have a couple extra features, but it's > also a standalone program with an associated config file. In Alpine, 5 > lines in the default crontab are enough to give us 95% of the features. > > Whose idea was this? Does any other Linux distro support periodic? > > [1]: > https://www.freebsd.org/cgi/man.cgi?query=periodic&manpath=FreeBSD+13.1-RELEASE+and+Ports > [2]: > https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/alpine-baselayout/crontab > >