Skip to content

How to Configure a Cron Job?

Last update: 18 Apr 2025

A cron job is required to send scheduled email notifications to your customers. Once configured, the system will automatically send reminder emails 6 days before the service expiration date.

Requirements

  • Linux VPS or a server with root access.

Step 1: Watch the Tutorial

Watch the following video to configure the cron job:

https://youtu.be/bFVzC_l4NAI

Step 2: Locate the Artisan File

The tutorial demonstrates how to create a cron job using the nano text editor.

When creating the cron job, use the path to your Laravel artisan file.

Step 3: Update the File Path

Replace the example path:

text
/home/username/mail.php

with the path to your Laravel artisan file.

For example:

text
/path/to/artisan

That's it! Your cron job is now configured and will automatically send scheduled email notifications to your customers.

© 2019-present NativeCode. All rights reserved.