Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1020 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 1020 Bytes

MinchaMinder

The purpose of this code is to set up an sms messaging system for event attendance (i.e. Mincha) The system can be configured to send sms invitations and follow up remidners, count attendees and confirm/cancel the event based on the responses It can also be configured to send reminder phone calls before the event starts.

There are a lot more features built in then what you see in the readme feel free to review the code to find them :)

  1. Change db credentials in db.php with your server
  2. set your https://signalwire.com/ credentials

login to /login.php
user: admin
password: admin

Set up crons

Examples below, replace url and path to log see https://crontab.guru/

00 12 * * 1-4 wget -qO- http://url.ca/send-sms.php >> /var/log/1.log 2>&1
00 13 * * 1-4 wget -qO- http://url.ca/notify.php >> /var/log/2.log 2>&1
50 13 * * 1-4 wget -qO- http://url.ca/confirm_cancel.php >> /var/log/3.log 2>&1
55 13 * * 1-4 wget -qO- http://url.ca/cron_do_call.php >> /var/log/4.log 2>&1