Skip to content

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:

  1. Watch the tutorial video:
    https://youtu.be/bFVzC_l4NAI

  2. Locate the artisan file in your crontab:
    The tutorial explains how to create a crontab file using the nano text editor.

  3. 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.

© 2019-present NativeCode. All rights reserved.