Back
How to setup Cron for e-mail notifications?
- Last revised:
- Friday, 24 March 2017
Answer
Cron configuration
You can run Cron in these two ways:
1. Script file
Run file components/com_booking/cron.php per 5 minutes.
2. URL addresses
Run these URL addresses by Wget per 5 minutes.
your-domain/index.php?option=com_booking&task=reservation.notifyenqueue
your-domain/index.php?option=com_booking&task=reservation.notifysend
Booking configuration
SMS/E-mails - : 5 messages per batch
SMS/E-mails - : 5 minutes
Example
Script File
*/5 * * * * php -f /your_document_root/components/com_booking/cron.php
URL addresses
*/5 * * * * wget -q -O - "your-domain/index.php?option=com_booking&task=reservation.notifyenqueue"
*/5 * * * * wget -q -O - "your-domain/index.php?option=com_booking&task=reservation.notifysend"