Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (11 sloc) 0.374 kb
<?php
include("../IronWorker.class.php");
$name = "testTaskSimple-php";
$iw = new IronWorker('config.ini');
# Creating and uploading code package.
$iw->upload(dirname(__FILE__)."/workers/hello_world_simple", 'testTaskSimple.php', $name);
# Adding new task.
$task_id = $iw->postTask($name);
# Wait for task finish
$details = $iw->waitFor($task_id);
print_r($details);
Jump to Line
Something went wrong with that request. Please try again.