Chapter 16Common Automation Tasks
After exploring crontab and scripting in Chapter 14, “crontab and at,” and Chapter 15, “Scripting,” you now have the tools to automate! Most likely you are now thinking “OK, but what will I automate?” This chapter explores some common automation use cases and provides demonstration scripts and crontab entries.
After reading this chapter and completing the exercises, you will be able to do the following:
Plan common automation tasks
Exploring Scripts that Already Exist on Your System
To start, there is some good news: you have many examples of Linux automation already available on your system that you can use to model your own solutions. You just need to know where to look.
The /etc/cron.* Directories
Recall ...
Get Linux Essentials for Cybersecurity 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.