Skip to content

Instantly share code, notes, and snippets.

@mrpatrick
Created September 15, 2014 15:56
Show Gist options
  • Save mrpatrick/0594996a9237fdd34165 to your computer and use it in GitHub Desktop.
Save mrpatrick/0594996a9237fdd34165 to your computer and use it in GitHub Desktop.
daily_harvest mysql backups automated on iron.io (worker file). http://workshop.avatarnewyork.com/project/daily-harvest/
# define the runtime language
runtime "python"
stack "python-2.7"
full_remote_build true
# includes
dir "Harvest"
file "harvest.json"
file "mysql.json"
pip "python-dateutil"
pip "simplejson"
pip "mysql-connector-python"
# exec is the file that will be executed:
exec "harvest_backup.py"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment