We described how to create a script to automate a task. The proper way to use cron to run a script automatically at a specific time was covered. The archive commands zip
and tar
were discussed to show how to perform compressed backups. A full scheduler and backup script were also included and discussed.
In the next chapter we will show how to read and write files in a script.
18.217.5.86