Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1352144ce7
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (10 sloc) 0.313 kb
<?php
include("../IronWorker.class.php");
$name = "pagerDuty-php";
$iw = new IronWorker('config.ini');
# Creating and uploading code package.
$iw->upload(dirname(__FILE__)."/workers/pager_duty", 'pagerDuty.php', $name);
$payload = array(
'API_KEY' => PAGERDUTY_API_KEY
);
$iw->postTask($name, $payload);
Jump to Line
Something went wrong with that request. Please try again.