; The maximum number of HTTP based jobs which can be executed simultaneously by single back-end server
; Number of seconds while daemon trying to establish a connection with back-end server (units: seconds)
; Number of seconds while URL based job must complete. (units: seconds)
; The minimal number of milliseconds between job startups.
; Number of retries in case of HTTP job failure.
; The number of seconds between retries of failed HTTP jobs. (units: seconds)
$queue = new ZendJobQueue();
$params = array("data" => "Test");
$options = array("priority" => ZendJobQueue::PRIORITY_HIGH);
// execute the job in two minutes unless the priority is urgent
$options["schedule"] = "*/1 * * * *";
$jobID = $queue->createHttpJob("http://localhost/test/execQueue.php?testcron", $params, $options);
Users browsing this forum: No registered users and 4 guests