Source of file SSResquePing.php
Size: 0,314 Bytes - Last Modified: 2021-12-23T10:38:22+00:00
/var/www/docs.ssmods.com/process/src/code/SSResquePing.php
12345678910111213 | <?php class SSResquePing extends Controller { public function index() { $args = array( 'message' => 'from '.$_SERVER['HTTP_HOST'], 'time' => date('Y-m-d H:i:s') ); $token = Resque::enqueue("dev:ping", "SSResquePingJob", $args, true); return 'Ping job created with token ' . $token . PHP_EOL; } } |