This is one of the most overlooked aspects of Linux. With Crontab, you can basically schedule anything you. Match this with the power of shell scripting, then you can have a whole system, or an office of systems maintain themselves.
Let’s make a script that runs every day and updates your system (this is for Debian based systems like Ubuntu or Mint if you have Aptitude installed). Create an empty file called automatic-update.sh and paste the following: