Skip to content

Instantly share code, notes, and snippets.

@trpx
Last active September 4, 2019 23:21
Show Gist options
  • Save trpx/557eceb3b82ba001b8129f41eaf3bf4d to your computer and use it in GitHub Desktop.
Save trpx/557eceb3b82ba001b8129f41eaf3bf4d to your computer and use it in GitHub Desktop.
[ `date +%u` -eq 7 ] && [ $(date --date="@$((`date +%s` + 604800))" +%m) -ne `date +%m` ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment