Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to automatically start a rule every day on contact nr 0

$
0
0

Replies: 0

Dear developers and fellow users of email-reminders,

I’ve been using booking calendar for quite some years to manage one booking each and every day. Now I found out about the email reminders plugin which can help us a lot by sending a reminder to the “booker” one day beforehand.

The idea is dat this happens automatically, which is what the plugin promisses to do.
The problem is that I don’t know how to configure this, so that the rules runs automatically each day, and one email is send each day, when my homepage is visited at least once a day.

This is what I tried:

So firstly I created a rule:
ID 2: Create email Default, if default -> check_in = TODAY + 1 DAY
and: Rule run starting with contact id 0

Second:
I placed two shortcodes on my website:
I put them on my homepage, so that the chance of a visitor is the biggest at least once a day and the shortcode should run:

[email-reminders-rule id=2 max_count=15000 is_silent=1]

[email-reminders-send max_count=15000 is_silent=1]

When I call my home page, it all works like a charm…..only the first time.
The next day I expect that it runs again automatically, but it doesn’t.

When I look at the rules page of the Email Reminders plugin, it shows:
Finished, last run: the date and time of yesterday, and Last Checked Contact Id 4628

When I use is_silent = 1, the comment on the webpage shows:
Finish checked at contact id: 4628
Sent 0 emails

When I open the rule to edit it, the rule shows has changed in : Rule run starting with contact ID 4628. I don’t understand why that has been changed since I created the rule as starting with contact ID 0.

I hope that someone has managed to setup the email reminders plugin the way that I want it to work and can share his/her experience.

Best

DJ

Wordpress: 5.4.4
Booking Calendar 8.7.10
Email Reminders: 1.0.1
PHP Version 7.3.19-1+ubuntu18.04.1+deb.sury.org+1


Viewing all articles
Browse latest Browse all 59525

Trending Articles