Skip to content

Instantly share code, notes, and snippets.

@timoyuen
Created October 14, 2014 02:19
Show Gist options
  • Save timoyuen/31cad394d2ef62430668 to your computer and use it in GitHub Desktop.
Save timoyuen/31cad394d2ef62430668 to your computer and use it in GitHub Desktop.
cron every week
30 2 8-14,22-28 * * test $(date +%u) -eq 1 && sh /root/clone_to_sandbox.sh
http://www.nicovs.be/schedule-cron-jobs-to-run-every-2-weeks/
or
3 2 1,15 * * sh /root/clone_to_sandbox.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment