In this section, we will show you how to automate Bash shell script execution. The cron system, which is available on every Linux system, allows for the automation of commands or scripts by enabling the administrator to determine a predefined schedule based on any hour, day, or even month. It is a standard component of the CentOS 7 operating system, and in this section we will introduce you to the concept of managing recurring tasks in order to take advantage of this invaluable tool.
First, let's create a new script, which will download an elegant and useful Linux command-line example from the incredible Commandlinefu web page and put it in the motd, or message of the day, file in the Linux system so that it is ...