diff --git a/demo/check_status.php b/demo/check_status.php index c5c194c..c195911 100644 --- a/demo/check_status.php +++ b/demo/check_status.php @@ -3,7 +3,8 @@ if(empty($argv[1])) { die('Specify the ID of a job to monitor the status of.'); } -require '../lib/resque.php'; +require '../lib/Resque/Job/Status.php'; +require '../lib/Resque.php'; date_default_timezone_set('GMT'); Resque::setBackend('127.0.0.1:6379'); @@ -17,4 +18,4 @@ while(true) { fwrite(STDOUT, "Status of ".$argv[1]." is: ".$status->get()."\n"); sleep(1); } -?> \ No newline at end of file +?>