Schedule a call to a friend where an MP3 is played using the Twilio API.
Andrew Tomaka
fcf0ef7c58
Implement a scheduler based on crontab to execute calls at specific times. Using PHP-Cron, we can implement a single cron at the system level and then use methods to add cron jobs at the PHP level. This allows eventually expansion to handling multiple song calls. |
||
---|---|---|
conf | ||
files | ||
.gitignore | ||
caller.php | ||
composer.json | ||
README.md |
install
add cronjob to run master file
* * * * * cd /path/to/project && php caller.php 1>> /dev/null 2>&1