Created
May 2, 2013 04:53
-
-
Save inoccu/5500207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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