Skip to content

Instantly share code, notes, and snippets.

@dannygsmith
Created September 5, 2017 03:04
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 dannygsmith/dfe2b322e7a371949221a3a645288648 to your computer and use it in GitHub Desktop.
Save dannygsmith/dfe2b322e7a371949221a3a645288648 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#* * * * * command to be executed
#- - - - -
#| | | | |
#| | | | +----- day of week (0 - 6) (Sunday=0)
#| | | +------- month (1 - 12)
#| | +--------- day of month (1 - 31)
#| +----------- hour (0 - 23)
#+------------- min (0 - 59)
00 01 * * * /usr/local/bin/bash /Users/riskiii/bin/wp-db-backup
30 01 * * * /usr/local/bin/bash /Users/riskiii/bin/wp-daily-updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment