Skip to content

Instantly share code, notes, and snippets.

@gschueler
Created January 22, 2011 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gschueler/790772 to your computer and use it in GitHub Desktop.
Save gschueler/790772 to your computer and use it in GitHub Desktop.
sample job file in yaml format
- id: 16
project: test
schedule:
time:
hour: '18'
minute: '28'
month: '*'
weekday:
day: '*'
loglevel: INFO
sequence:
keepgoing: false
strategy: node-first
commands:
- exec: echo ${job.username}
- script: '#!/bin/bash
echo user is @job.username@
echo user is $RD_JOB_USERNAME
echo this is only one line
echo two lines'
- exec: asdf
- jobref:
group: ''
name: flancho2
description: asdf
name: flanchozzz
nodefilters:
dispatch:
threadcount: 1
keepgoing: false
excludePrecedence: true
include:
tags: flem
name: Venkman.local
group: doing/damn/good/job
options:
clamps:
required: true
description: adsf
valuesUrl: http://Venkman.local/buster
regex: \d+
echo:
description: echos something
value: flam
rambo:
enforced: true
values:
- a
- b
- c
- d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment