Use the following syntax to schedule a command or script to run every 5 minutes using crontab.
To schedule a PHP script to run every 5 minutes. Run the command crontab -e to edit crontab in an editor and schedule your job. You can use crontab -e command to edit the crontab editor:
The cronjob will run the above command at 5-minute intervals.