Skip to content

Instantly share code, notes, and snippets.

@Greg-Boggs
Created September 26, 2013 21:17
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 Greg-Boggs/6720692 to your computer and use it in GitHub Desktop.
Save Greg-Boggs/6720692 to your computer and use it in GitHub Desktop.
git pull and sass compile
* * * * * cd /home/tng/dev.core && /usr/bin/git pull > /home/tng/dev.core.log; /usr/bin/drush -y features-revert-all > /home/tng/dev.core.log 2>&1
* * * * * /bin/bash -c ". /home/tng/.bash_profile > /home/tng/dev.core.log 2>&1; cd /home/tng/dev.core/sites/all/themes/custom/core && /home/tng/.rvm/gems/ruby-1.9.3-p374/bin/bundle exec compass compile > /home/tng/dev.core.log 2>&1"
@Greg-Boggs
Copy link
Author

crontab -e and then above lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment