Skip to content

Instantly share code, notes, and snippets.

@yannick
Created January 15, 2016 08:58
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 yannick/64fd6a0b675b272e2ca2 to your computer and use it in GitHub Desktop.
Save yannick/64fd6a0b675b272e2ca2 to your computer and use it in GitHub Desktop.
schedule:
xxx:
enabled: True
function: cmd.run
when: 11:00am
args:
- 'source ~/.bash_profile; bundle install; bundle exec ruby lib/dostuff.rb'
kwargs:
stateful: False
shell: /bin/bash
cwd: /home/yoda/myscript
user: yoda
env:
- AAA: AAA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment