As developers, most of the time, our websites perform some kind of action based on a user clicking a button or typing some data, but there are some things we need to be able to do outside of the normal web request flow. The cron system installed on almost every Unix-based operating system provides the solution for this.
It allows users to schedule commands or scripts to run at specific times or at intervals. The cron system consists of two main components the cron daemon (crond) and the CRON TABle (crontab).
To create or modify cron jobs, you need to work with the crontab command.