Skip to content

Instantly share code, notes, and snippets.

@wasabina67
Created October 14, 2024 10:57
Show Gist options
  • Save wasabina67/5d1b37f996a91f49c16f2901ebde3a78 to your computer and use it in GitHub Desktop.
Save wasabina67/5d1b37f996a91f49c16f2901ebde3a78 to your computer and use it in GitHub Desktop.
Check month change
#!/bin/bash
if [ "$(date +\%m -d tomorrow)" != "$(date +\%m)" ]; then
exit 0
else
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment