<?php /** * LICENSE * * This source file is subject to the new BSD license that is bundled with this * package in the file LICENSE.txt. It is also available through the * world-wide-web at this URL: http://dragonjsonserver.de/license. If you did * not receive a copy of the license and are unable to obtain it through the * world-wide-web, please send an email to license@dragonjsonserver.de. So we * can send you a copy immediately. * * @copyright Copyright (c) 2012 DragonProjects (http://dragonprojects.de) * @license http://framework.zend.com/license/new-bsd New BSD License * @author Christoph Herrmann <*****@*****.**> */ require 'bootstrap.php'; $securitytoken = ''; if (isset($_GET['securitytoken'])) { $securitytoken = $_GET['securitytoken']; } if (isset($argv[1])) { $securitytoken = $argv[1]; } $jsonserver = new Dragon_Json_Server(); $jsonserver->handle(new Dragon_Json_Server_Request_Http(array('id' => 'cron.php', 'method' => 'DragonX.Cronjob.Service.Cronjob.executeCronjobs', 'params' => array('securitytoken' => $securitytoken)))); echo 'done';
<?php /** * LICENSE * * This source file is subject to the new BSD license that is bundled with this * package in the file LICENSE.txt. It is also available through the * world-wide-web at this URL: http://dragonjsonserver.de/license. If you did * not receive a copy of the license and are unable to obtain it through the * world-wide-web, please send an email to license@dragonjsonserver.de. So we * can send you a copy immediately. * * @copyright Copyright (c) 2012 DragonProjects (http://dragonprojects.de) * @license http://framework.zend.com/license/new-bsd New BSD License * @author Christoph Herrmann <*****@*****.**> */ require 'bootstrap.php'; $jsonserver = new Dragon_Json_Server(); $jsonserver->handleMultirequest();
<?php /** * LICENSE * * This source file is subject to the new BSD license that is bundled with this * package in the file LICENSE.txt. It is also available through the * world-wide-web at this URL: http://dragonjsonserver.de/license. If you did * not receive a copy of the license and are unable to obtain it through the * world-wide-web, please send an email to license@dragonjsonserver.de. So we * can send you a copy immediately. * * @copyright Copyright (c) 2012 DragonProjects (http://dragonprojects.de) * @license http://framework.zend.com/license/new-bsd New BSD License * @author Christoph Herrmann <*****@*****.**> */ require 'bootstrap.php'; $jsonserver = new Dragon_Json_Server(); $jsonserver->handle();