1
0
Fork 0
Schedule a call to a friend where an MP3 is played using the Twilio API.
Find a file
Andrew Tomaka 4a3749883b Add Multicall Support
Implement multicall support by using an sqlite database to store and
retrieve calls.  Two interfaces have been added:

1) add-call.php.  Used to add calls.
example: add-call.php 15555555555 '0 10-16 * * *' 'http://www.domain.com/xml.xml'

2) create-table.php.  Creates the database file

Created calls are retrieved in the caller.php file.  Each call is run
through the scheduler to verify if it is time for it to be made.
2013-03-04 19:27:42 -05:00
conf Initial commit with simple call example 2013-02-24 14:16:57 -05:00
db Prepare for database support 2013-03-04 19:24:49 -05:00
files Initial commit with simple call example 2013-02-24 14:16:57 -05:00
.gitignore Prepare for database support 2013-03-04 19:24:49 -05:00
add-call.php Add Multicall Support 2013-03-04 19:27:42 -05:00
caller.php Add Multicall Support 2013-03-04 19:27:42 -05:00
composer.json Add Scheduling Capabilities 2013-02-26 17:27:12 -05:00
create-table.php Add Multicall Support 2013-03-04 19:27:42 -05:00
README.md Update dependencies 2013-03-04 19:24:18 -05:00

install

add cronjob to run master file

* * * * * cd /path/to/project && php caller.php 1>> /dev/null 2>&1

dependencies

php5-sqlite sqlite sqlite3

sql

create-table.php will create the table