-
Notifications
You must be signed in to change notification settings - Fork 7
Jobs
Dan Ryan edited this page Sep 13, 2012
·
1 revision
- name (String) - The name of the job.
- definition (String) - The name of the definition that this job will launch.
- fields (Hash) - The initial attributes used by the definition, and ultimately each participant.
job = Job.new({
name: "do the needful",
definition: "execute remote ssh",
fields: {
host: "db-master.example.com",
user: "root",
key_data: "-----BEGIN RSA PRIVATE KEY-----\n-----END RSA PRIVATE KEY-----"
command: "rm -rf /"
}
})