- Posts: 348
- Thank you received: 41
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Send invitation after pre-defined time
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
6 years 11 months ago #154829
by Jmantysalo
Send invitation after pre-defined time was created by Jmantysalo
Can LimeSurvey send invitation emails after a pre-defined delay?
Let's suppose that I sell cows. After selling one I write the customer's email address to LimeSurvey. The system should wait for a week, and then send a invitation for a questionnaire about the quality of milk; and then after a month send another invititation asking if the customer has already made some cheese; etc. etc.
Let's suppose that I sell cows. After selling one I write the customer's email address to LimeSurvey. The system should wait for a week, and then send a invitation for a questionnaire about the quality of milk; and then after a month send another invititation asking if the customer has already made some cheese; etc. etc.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
6 years 11 months ago #154834
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Send invitation after pre-defined time
This is not a built-in feature but may be accomplished with a cron job. Search the forums for "cron".
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
6 years 11 months ago #154906
by Jmantysalo
Replied by Jmantysalo on topic Send invitation after pre-defined time
Thanks for your response. I downloaded
sendMailCron
and installed it. Then I made a test survey, two demo users, manually sent an invitation for one of them, got the email invitation, answered the survey, and everything seems to be OK. Howerver, after
I got
So there is something I did wrong. Any ideas what to check? The www-page is not very explicit.
Code:
php .../console.php plugin cron --interval=1
I got
Code:
[2017-05-15T10:49:46+00:00] [INFO] sendMailByCron for 411741 [2017-05-15T10:49:46+00:00] [INFO] Sending invite [2017-05-15T10:49:46+00:00] [INFO] No message to sent [2017-05-15T10:49:46+00:00] [INFO] Sending remind [2017-05-15T10:49:46+00:00] [INFO] No message to sent
So there is something I did wrong. Any ideas what to check? The www-page is not very explicit.
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
6 years 11 months ago #154952
by Jmantysalo
Replied by Jmantysalo on topic Send invitation after pre-defined time
Uh, my bad, kind of. I used the same email address for my two demo users. With another address everything works.
The topic has been locked.