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
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.