Managing time-triggered events with Zeit

Timetable

© Photo by Matthew Smith on Unsplash

© Photo by Matthew Smith on Unsplash

Article from Issue 261/2022
Author(s):

Zeit offers a graphic front end for the crontab and at tools, making it easier to manage the time-controlled execution of programs, alarms, and timers.

When it comes to managing the time-controlled execution of programs, you can use the entries in the /etc/crontab file (crontab) for repetitive tasks scheduled at regular intervals, or you can use the at command for a one-time action.

While at uses a kind of order book that stores the commands to be executed at a scheduled time, cron works somewhat differently. The crontab contains the entries for the whole system, while the files in /var/spool/cron/crontabs/ contain user-specific entries. Each line in the crontab fully describes a single job. Care must be taken when specifying the jobs because of the entry format's fairly arcane syntax. You can learn this syntax, but it is by no means a trivial task. If you have an LPIC-1 certificate, you will be familiar with the entry format.

Despite care and attention, you may find out that jobs fail to start or are executed at the wrong time. A graphical user interface (GUI) can help reduce errors, even for experienced users. However, several earlier attempts at a suitable GUI for time-controlled calls (e.g., KCron, Kcrontab, CroMagnon, Gnome Schedule [1], Gnome Task Scheduler [2], and VCron) have fallen short with development coming to a standstill.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line: at and cron

    The cron and at utilities help automate processes on a Linux system. You can set up automatic backups or even wake up in the morning with a track from your MP3 collection.

  • Command Line – at, cron, anacron

    The at command and the related cron and anacron can help you efficiently schedule tasks, whether one-time events or jobs to be done repeatedly.

  • DIY Web Server

    If you want to learn a little bit more about the communication between a web browser and an HTTP server, why not build your own web server and take a closer look.

  • Charly's Column

    While cron doggedly keeps to a fixed schedule, Incron monitors directories and runs commands when changes occur.

  • The sys admin’s daily grind

    This month, Charly considers Jacobin rule, Napoleon Bonaparte’s neoconservatism, Jewish and Islamic tradition, and a cronjob that nearly worked.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News