Cron Jobs
Essentially does specific jobs automatically for you.
Like say running a file every 5 minutes.
Cron does this via *
.
*
is a wildcard character that means "every".
So * * * * *
means every minute of every hour of every day of every month of every year.
You set it by replacing the asterix with a number.
Use https://crontab.guru/ when setting a cron job to be sure what you are doing!.
To run crontab as root (not recommended if you don't have to):
sudo crontab -u root -e
To run crontab as a user:
crontab -e