Notifications
Clear all

Schedule a Campaign  


(@theauris)
Active Member
Joined: 3 years ago
Posts: 6
Topic starter  

Note: We recommend setting up CRON to send your newsletters. Newsletters sent via CRON have the added ability to automatically resume sending when your server times out. You'll also be able to schedule emails.

You haven't set up CRON yet, but that's okay. You can still send newsletters right now. But keep in mind that you won't be able to navigate around Sendy until sending is complete. Also, you'll need to manually resume sending (with a click of a button) if your server times out.

Setup CRON now →


Quote
Tharindu
(@tharindu)
Admin
Joined: 6 years ago
Posts: 262
 

Hello Auris,

I did setup Cron jobs on your server. I'm not sure why it isn't working. Can you do me a favor and post the instructions here?

You can get the instructions by clicking 'Setup CRON now →'

Thanks!


ReplyQuote
(@theauris)
Active Member
Joined: 3 years ago
Posts: 6
Topic starter  

Add a cron job
To schedule campaigns or to make sending more reliable, add a cron job with the following command.

Command
php /home/email/public_html/scheduled.php > /dev/null 2>&1
This command needs to be run every 5 minutes in order to check the database for any scheduled campaigns to send. You'll need to set your cron job with the following.
(Note that adding cron jobs vary from hosts to hosts, most offer a UI to add a cron job easily. Check your hosting control panel or consult your host if unsure.).

Cron job
*/5 * * * * php /home/email/public_html/scheduled.php > /dev/null 2>&1
Once added, wait around 5 minutes. If your cron job is functioning correctly, you'll see the scheduling options instead of this modal window when you click on "Schedule this campaign?".


ReplyQuote
Tharindu
(@tharindu)
Admin
Joined: 6 years ago
Posts: 262
 

I've added above cron job. Please check if it's working.

Thanks!


ReplyQuote
Share:
Back to top button

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.