Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Manjaro Linux User Guide

You're reading from   Manjaro Linux User Guide Gain proficiency in Linux through one of its best user-friendly Arch-based distributions

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781803237589
Length 498 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Atanas Georgiev Rusev Atanas Georgiev Rusev
Author Profile Icon Atanas Georgiev Rusev
Atanas Georgiev Rusev
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Part 1: Installation, Editions, and Help
2. Chapter 1: Introduction to Manjaro and Linux FREE CHAPTER 3. Chapter 2: Editions Overview and Installation 4. Chapter 3: Editions and Flavors 5. Chapter 4: Help, Online Resources, Forums, and Updates 6. Part 2: Daily Usage
7. Chapter 5: Officially Supported Software – Part 1 8. Chapter 6: Officially Supported Software Part 2, 3D Games, and Windows SW 9. Chapter 7: All Basic Terminal Commands – Easy and with Examples 10. Part 3: Intermediate Topics for Daily Usage
11. Chapter 8: Package Management, Dependencies, Environment Variables, and Licenses 12. Chapter 9: Filesystem Basics, Structure, and Types, NTFS, Automount, and RAID 13. Chapter 10: Storage, Mounting, Encryption, and Backups 14. Chapter 11: Network Fundamentals, File Sharing, and SSH 15. Chapter 12: Internet, Network Security, Firewalls, and VPNs 16. Part 4: Advanced Topics
17. Chapter 13: Service Management, System Logs, and User Management 18. Chapter 14: System Cleanup, Troubleshooting, Defragmentation, and Reinstallation 19. Chapter 15: Shell Scripts and Automation 20. Chapter 16: Linux Kernel Basics and Switching 21. Index 22. Other Books You May Enjoy

Time-based execution of programs and scripts

There are two main ways to execute a script at a specific time, which we will review in this section. The first is based on a cron package, and the second is based on systemd timers. The systemd and process basics described in Chapter 13 are essential in both cases. While using cron is simpler, it is started at a certain moment during the OS initialization sequence, so cron jobs can only be triggered after this.

A specific time means at an exact calendar time, such as 10.12.2023 at 23.45 UTC, supported by both cron and systemd.

The other way is based on timers, offered only by systemd. A timer is a hardware or software module that can trigger events based on an elapsed time period – for example, every 35 seconds or every 75th hour. These are often called monotonic timers and are configurable; we can set their activation period to custom values.

The initial release of cron was for Unix in May 1975. Multiple posts on the internet...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image