Schedule your messages using CRON Jobs
CRON is a time-based job scheduler in UNIX-like operating systems. By means of it, you can schedule tasks (messages, in our case), which are usually referred to as "CRON Jobs". Using CRON Jobs allows you to automate your messages and send a given follow-up automatically at a given moment in time.
NoteThe explanations on how to set a CRON job here are for cPanel users. Though the process is similar for most web hosting control panels, it might have slight differences. If you need any help setting CRON jobs on a different control panel, feel free to contact iSenseLabs support team for assistance.
ImportantIf your server does not support CRON Jobs, you can try using services such as easycron.com, setcronjob.com or others, which can provide you with this feature.
Setting a CRON Job
First off, you need to navigate to your module's settings. Go to the Control Panel tab. Opposite of the second field (Keep log), you will find a button labeled How to set up the cron job?.
Upon clicking it, a modal window will pop up. This window contains the command you need to activate the CRON job (shown in the picture below). Copy it.
Now, navigate to your cPanel. In the Advanced section, find Cron Jobs and click it.
You will be redirected to the following page:
To add a CRON job, you must first determine how often the CRON job should activate the e-mail-sending script. This is done from the "Common Settings" drop-down menu.
WARNINGMake sure you set the CRON job to at least "Once per day", otherwise you will end up spamming your customers with multiple e-mails a day.
Then, from the Minute and Hour fields, choose the given hour you want the CRON to run at (the values used for the example are 0 and 0, which means the CRON will run at 00:00 every day).
And last but not least, you should paste the command you copied earlier in the "Command" field. It should look something like this:
ImportantBear in mind the command should not include the "0 0 * * *".
ImportantKeep in mind that some servers require the full path to the php extension, which on most of the servers is usr/bin/php. In such cases, you just have to change the beginning of the command from php to usr/bin/php. If this does not make CRON jobs work, it means the php extenion is at a different place (the path is not correct). In that case, contact your hosting provider for more information.
Once you have copied it, click the Add New Cron Job button and the CRON job you have been creating should appear in the Current Cron Jobs section.
Congratulations! You have set up your CRON job.