klotz: cron*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. An article detailing five lesser-known features of systemd timers, such as single-instance execution, second-resolution timing, monotonic events, manual triggering, and automatic reporting on failing services.

    - **systemd Timers**: Modern replacement for cron with more control, flexibility, and higher resolution.
    - **One Instance at a Time**: Automatically prevents multiple timer instances from running simultaneously to avoid resource conflicts.
    - **Second-Resolution Timing**: Enables one-second resolution (vs. cron's one-minute) by setting `AccuracySec=1` in the timer file.
    - **Monotonic Events**: Triggers timers based on system events like boot-up (`OnBootSec`) or clock changes (`OnClockChange`).
    - **Manually Trigger Timed Tasks**: Launch timers and services manually for testing (`sudo systemctl start name-of-your.timer` or `name-of-your.service`).
    - **Automatically Report on Failing Services**: Use `OnFailure` directive in service files to send notifications upon failure, supporting multiple notification methods (e.g., email, Slack).
    - **systemd-analyze Calendar**: Normalizes dates and times for use in `OnCalendar` statements.
    2024-11-09 Tags: , , , , by klotz
  2. 2021-08-19 Tags: , by klotz
  3. 2019-10-08 Tags: , , , by klotz
  4. 2019-06-29 Tags: , by klotz
  5. 2018-10-22 Tags: , , , , by klotz
  6. 2018-10-22 Tags: , , , , , by klotz
  7. 2017-08-17 Tags: , , , by klotz
  8. 2017-08-17 Tags: , , , , , by klotz
  9. 2013-06-19 Tags: , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: cron

About - Propulsed by SemanticScuttle