-
Login to your Server Instance
-
Run the Command
crontab -e
-
Select the desired editor to start editing your CRON file.
-
Add your desired paths/function which you want to schedule. For example
0 10 * * * php /var/www/public_html/api/src/cronjob/notification.php
- Save your file
- To check if your CRON has saved successfully, use
crontab -l