Appearance
How to configure Cronjob?
Last update: 18/Apr/2025
To enable cronjob on your server, your customers can receive scheduled email notifications for service expiration. It will start sending emails 6 days before expiration.
Requirements: You should have a Linux VPS or root access.
Follow these steps:
Watch the tutorial video:
https://youtu.be/bFVzC_l4NAILocate the artisan file in your crontab:
The tutorial explains how to create a crontab file using thenano
text editor.Replace the file path:
Instead of/home/username/mail.php
, put your Laravel artisan file location.
Example:/path/to/artisan
That’s it! Your cronjob is now set up to send scheduled email notifications.