© David Both 2020
D. BothUsing and Administering Linux: Volume 2https://doi.org/10.1007/978-1-4842-5455-4_11

11. 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 a specific time in the future

Introduction

In previous chapters we have looked at some examples ...

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.