Managing time-triggered events with Zeit
Adding Tasks
For recurring jobs, either go to Time | Add Task, press the Add Task button, or press Ctrl+A. A dialog box opens where you can then define the new task in more detail (Figure 2). In the upper two input boxes, start by defining the description and the command to be executed.
Next, specify the time of execution. Basic allows a simple selection for every minute, hour, day, week, month, or every weekday. Things get more detailed in the Advanced section, where you can specify the exact minute, hour, day, weekday, and month. You can use the same notation as with crontab
, for example, 1-5
for Monday to Friday. Context help supports you in your endeavors to correctly specify the individual values.
Below the input boxes, a box tells you what the values you entered actually mean, making it clear when the system will want to execute the task. Note the Enabled checkbox at the bottom: If checked, the task is enabled; otherwise, it will only be added to the table as a comment. Pressing the OK button completes the creation of the new task.
For one-off jobs, the menu item is named Add Command, which opens the matching dialog box in Figure 3. In addition to the description and the command, you need to specify the execution time. Press the Now button to insert the current time, and Reset to reset the input boxes. If you check the box next to Show OSD notification, you will see an additional message on screen ("On-Screen Display") when the command is executed. This helps you keep track of jobs the system executes in the background.
Editing Tasks
To edit an existing task, first select an entry in the list and then navigate to Zeit | Modify Task or click on the Modify Task button. Alternatively, you can use the context menu or the Ctrl+M keyboard shortcut. (For one-time jobs, use Modify Command.)
Depending on the task type, the dialog box shown in Figure 2 (recurring task) or Figure 3 (one-time command) appears. The content is the same as when creating a new task. Pressing OK completes the task edit. You can delete an existing task in the same way via Zeit | Delete Task, the Delete Task button, or by pressing Ctrl+D. (For one-time jobs, use Delete Command.)
In addition, you can copy existing tasks via the Zeit | Copy Task menu item or the Copy Task button (one-time tasks use Copy Command). Alternatively, press Ctrl+C to create a copy. Zeit adds the copied task to the end of the task list, where you can now customize it as desired.
Task List
The Zeit GUI offers two possibilities to customize the display in the task list. You can filter the tasks using a search term by either going to View | Show Filter or by pressing Ctrl+F. An input field for the filter text then appears below the task list. Zeit only processes plain text, not regular expressions. Zeit interprets text as case-insensitive and then searches in the description, the execution times, and the stored command.
Another option is a short text display. You can enable this either via View | Shorten Text or by pressing Ctrl+H. In testing, this function had no effect, but maybe the descriptive text I chose was already short enough.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.