Skip to content

Instantly share code, notes, and snippets.

@brianmed
Created May 25, 2015 16:52
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 brianmed/10a6d9e38054ed0008d9 to your computer and use it in GitHub Desktop.
Save brianmed/10a6d9e38054ed0008d9 to your computer and use it in GitHub Desktop.
Example standalone job
[bpm@Orfgum] c:~/playground/Patched>cat user.pl
unless (Patched::User->exists("bpm")) {
Patched::User->add("bpm");
}
[bpm@Orfgum] c:~/playground/Patched>/opt/perl install.pl patched job -run 192.168.224.167 -api_key SECRET -script user.pl
Job was successful
[bpm@Orfgum] c:~/playground/Patched>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment