6.2 Automation Examples
Scripts shine when doing repetitive tasks.
Example: Backup Script
Section titled “Example: Backup Script”A script to archive a directory and name it with today’s date.
Automating with Cron
Section titled “Automating with Cron”Combine your script with cron (Module 3) to strictly “set and forget” (but check your logs!).