© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
D. BothUsing and Administering Linux: Volume 2https://doi.org/10.1007/978-1-4842-9615-8_31

31. Time and Automation

David Both1  
(1)
Raleigh, NC, USA
 

Objectives

In this chapter you will learn
  • To use chrony to maintain accurate system time

  • To create a crontab file for root using the crontab command

  • To add necessary statements to the crontab file that set up the environment for cron jobs

  • To interpret the time specifications for cron and configure cron jobs to run at different recurring intervals

  • To create cron jobs using crontab

  • To create cron jobs for hourly, daily, weekly, and monthly periods

  • To use the at command to run scripts or commands once at ...

Get Using and Administering Linux: Volume 2: Zero to SysAdmin: Advanced Topics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.