aboutsummaryrefslogtreecommitdiff
path: root/example/example.php
blob: cc9cbd6af932562f3d82d7ba0fa659342649bc5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

require_once 'vendor/autoload.php';

try {
    $client = new jobd\Client(jobd\Client::MASTER_PORT);
} catch (Exception $e) {
    die($e->getMessage());
}

// $status = $client->status();
// var_dump($status->getData());

var_dump($client->poke(['server1']));