Skip to content

Instantly share code, notes, and snippets.

@jeff
Created May 20, 2015 21:12
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 jeff/c9f529f227590640fd49 to your computer and use it in GitHub Desktop.
Save jeff/c9f529f227590640fd49 to your computer and use it in GitHub Desktop.
CollectionHQ extract crontab example
# CollectionHQ
# 6 AM every 28th of the month
0 6 28 * * cd $HOME/collectionHQ && ./extract.sh
# 6 AM every Sunday (but not if it's the 28th)
0 6 1-27,29-31 * * [ "`date +\%w`" -eq 0 ] && cd $HOME/collectionHQ && ./extract.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment