Skip to content

Instantly share code, notes, and snippets.

@inoccu
Created May 2, 2013 04:53
Show Gist options
  • Save inoccu/5500207 to your computer and use it in GitHub Desktop.
Save inoccu/5500207 to your computer and use it in GitHub Desktop.
$launcher = new SOS_Scheduler_OrderCommand_Launcher(
'localhost', //アドレス
4444, //ポート
30 //タイムアウト
);
$order = $launcher->add_order(’/test/job_chain1', null);
$order->replace = 'yes';
$order->id = 1; //任意のジョブオーダーID
//パラメータの指定(パラメータが必要な場合)
$order->addParam($key, $value);
//実行時間の指定
$order->at('now');
$launcher->execute($order);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment