What is Crontab¶
Crontab is a feature in Unix-based operating systems that allows you to schedule tasks to run automatically at specified intervals.
The crontab command is used to create, edit, and manage a file called the "crontab file," which contains a list of commands and instructions for the system to execute at specific times or intervals.
What is the use of crontab?¶
For example, you could use crontab to:
- Send recurring emails
- Update data from external sources
- Generate reports
- Run cleanup tasks
You can schedule such tasks to execute at regular time intervals.
How to add cron job?¶
Go to your application settings and open the tab "Cron Jobs"
Pick an interval and write a command then click the "Add" button.
You can add as many jobs as you want.