Please let me know if those instructions are wrong. I have no experience with cron jobs, so that syntax is just what I was told. If it is incorrect, let me know so I can fix it in the readme. Thanks.
Nothing's wrong, everything dipends on how many minutes before the reservation's start, we want to receive the mail's reminder .
If we configure te config.php with:
$conf['app']['allowed_reminder_times'] = array(5, 10, 15, 20, 30);
it means we could want to receive a mail 5 min before the reservation start.
So the job cannot run every hour....it must run with a higher frequency, 2 min. 1 min:
*/1 * * * * cd /web/directory/phpscheduleit/cmd; ./send_reminders.php
The job is scheduled to run every minutes!!
If we need something different:
$conf['app']['allowed_reminder_times'] = array(180, 240, 300);
that is a reminder minimun 3 hours before the reservation start time it's ok to schedule the job with lower frequency:
1 * * * * cd /web/directory/phpscheduleit/cmd; ./send_reminders.php
(every 09:01 - 10:01 - 11:01 - 12:01 - etc.) or
* */1 * * * cd /web/directory/phpscheduleit/cmd; ./send_reminders.php
(better: every 09:00 - 10:00 - 11:00 - 12:00 - etc.)
At the end you could change the readme just saying: "Run your job with the frequency you need - v. config.php - $conf['app']['allowed_reminder_times']"
What do you think?