at, cron, and anacron
Choosing a System
Of the three scheduling systems, cron
is probably the best-known. If you want to simplify your life and learn only one system, cron
is undoubtedly the most versatile one. However, it can be needlessly complex, especially for non-root users.
If you only schedule occasional, one-time tasks, the at
family of commands should suffice for you. However, if the exact timing of tasks is irrelevant to you, then anacron
is ideal for regularly repeated tasks. In fact, some writers suggest that anacron
is the scheduler best-suited to standalone laptops and workstations.
But whichever scheduler you use, you can be confident that you are using technology that has lasted several decades and that fits well with other classic Bash commands. Any problems you encounter with any of these schedulers is likely to be an obvious one, such as a problem with permissions or environmental variables.
Perhaps the greatest proof of the utility of these three schedulers is that, despite frequent attempts, desktop versions of them have never really caught on. All three are so well-designed that a GUI offers no advantage over the original command line applications.
Infos
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Direct Download
Read full article as PDF:
Price $2.95
News
-
Danielle Foré Has an Update for elementary OS 7
Now that Ubuntu 22.04 has been released, the team behind elementary OS is preparing for the upcoming 7.0 release.
-
Linux New Media Launches Open Source JobHub
New job website focuses on connecting technical and non-technical professionals with organizations in open source.
-
Ubuntu Cinnamon 22.04 Now Available
Ubuntu Cinnamon 22.04 has been released with all the additions from upstream as well as other features and improvements.
-
Pop!_OS 22.04 Has Officially Been Released
From the makers of some of the finest Linux-powered desktop and laptop computers on the market comes the latest version of their Ubuntu-based distribution, Pop!_OS 22.04.
-
Star Labs Unveils a New Small Format Linux PC
The Byte Mk I is an AMD-powered mini Linux PC with Coreboot support and plenty of power.
-
MX Linux Verison 21.1 “Wildflower” Now Available
The latest release of the systemd-less MX Linux is now ready for public consumption.
-
Microsoft Expands Their Windows Subsystem for Linux Offerings With AlmaLinux
Anyone who works with Windows Subsystem for Linux (WSL) will now find a new addition to the available distributions, one that’s become the front-runner replacement for CentOS.
-
Debian 11.3 Released wIth Numerous Bug and Security Fixes
The latest point release for Debian Bullseye is now available with some very important updates.
-
The First Alpha of Asahi Linux is Available
Asahi Linux is the first distribution to fully support Apple Silicon and is now available for testing.
-
Zorin OS 16.1 Released with a New Kernel For Better Hardware Compatibility
The developers of Zorin OS have released the latest version of their beautiful desktop Linux OS.