Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.LANG.PYTHON
  • systemd Re: Find the path of a shell command

    From Weatherby,Gerard@21:1/5 to All on Fri Oct 14 19:17:29 2022
    Only the first one or two require more work. The rest are your copy-pastes from the last time you did one.

    Typically I only have to changed descriptions, the executable in the *service and the timing in the *timer. They�re lot more readable and flexible than the cronjobs.

    From: Python-list <python-list-bounces+gweatherby=[email protected]> on behalf of Albert-Jan Roskam <[email protected]>
    Date: Friday, October 14, 2022 at 1:59 PM
    To: Peter J. Holzer <[email protected]>
    Cc: [email protected] <[email protected]>



    =====
    Lately I've been using systemd timers instead of cronjobs. They are easier
    to debug (journalctl) but require a bit more work to write. Systemd is
    available on Fedora & friends and Debian based systems, maybe more. It has
    no builtin MAILTO. I use an OnFailure stanza to send a Slack message with
    curl instead.
    https://urldefense.com/v3/__https://www.freedesktop.org/software/systemd/man/systemd.timer.html__;!!Cn_UX_p3!l6ZRc2Ur6rwspaC1V71wsENqmq5RNIR3lU2suC1LJLzYp097e-r2NwNBD3a_RhjuUkrSmfq3emmUsY-1m0PxT2TM$<https://urldefense.com/v3/__https:/www.freedesktop.
    org/software/systemd/man/systemd.timer.html__;!!Cn_UX_p3!l6ZRc2Ur6rwspaC1V71wsENqmq5RNIR3lU2suC1LJLzYp097e-r2NwNBD3a_RhjuUkrSmfq3emmUsY-1m0PxT2TM$>
    https://urldefense.com/v3/__https://unix.stackexchange.com/questions/278564/cron-vs-systemd-timers__;!!Cn_UX_p3!l6ZRc2Ur6rwspaC1V71wsENqmq5RNIR3lU2suC1LJLzYp097e-r2NwNBD3a_RhjuUkrSmfq3emmUsY-1m6sDQHR0$<https://urldefense.com/v3/__https:/unix.
    stackexchange.com/questions/278564/cron-vs-systemd-timers__;!!Cn_UX_p3!l6ZRc2Ur6rwspaC1V71wsENqmq5RNIR3lU2suC1LJLzYp097e-r2NwNBD3a_RhjuUkrSmfq3emmUsY-1m6sDQHR0$>
    -- https://urldefense.com/v3/__https://mail.python.org/mailman/listinfo/python-list__;!!Cn_UX_p3!l6ZRc2Ur6rwspaC1V71wsENqmq5RNIR3lU2suC1LJLzYp097e-r2NwNBD3a_RhjuUkrSmfq3emmUsY-1m3Q-bOmf$<https://urldefense.com/v3/__https:/mail.python.org/mailman/listinfo/
    python-list__;!!Cn_UX_p3!l6ZRc2Ur6rwspaC1V71wsENqmq5RNIR3lU2suC1LJLzYp097e-r2NwNBD3a_RhjuUkrSmfq3emmUsY-1m3Q-bOmf$>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Rixter
      Wed Jul 29 02:00:40 2026
      from Madison, Nc via Telnet
    • Centurion
      Tue Jul 28 22:54:59 2026
      from Berea, Ohio via Telnet
    • Bob Worm
      Tue Jul 28 16:01:18 2026
      from Wales, Uk via Telnet
    • Rixter
      Tue Jul 28 13:42:46 2026
      from Madison, Nc via Telnet
    • Krenn
      Tue Jul 28 11:59:57 2026
      from Sydney, Nsw via Telnet
    • Rixter
      Tue Jul 28 01:23:48 2026
      from Madison, Nc via Telnet
    • Centurion
      Mon Jul 27 22:50:42 2026
      from Berea, Ohio via Telnet
    • Ataricrypt
      Mon Jul 27 19:19:17 2026
      from England via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 741
    Nodes: 16 (2 / 14)
    Uptime: 58:55:19
    Calls: 12,446
    Calls today: 1
    Files: 15,192
    Messages: 6,537,423

© >>> Magnum BBS <<<, 2026