crunchbutton/cli/_callback.php
Stuardo Rodríguez 0a9cae8b69 fixed #327
* replace minites by minutes
* improved the CSS/look in the admin/restaurant form
2013-01-30 10:41:01 -05:00

14 lines
276 B
PHP
Executable File

#!/usr/local/bin/php
<?php
error_reporting(E_ERROR | E_PARSE);
ini_set('display_errors',true);
set_time_limit(10);
sleep(2 * 60); // 2 minutes
require_once('../include/crunchbutton.php');
$not = new Notification($argv[1]);
$order = new Order($argv[2]);
$not->send($order);