Created
October 14, 2024 10:57
-
-
Save wasabina67/5d1b37f996a91f49c16f2901ebde3a78 to your computer and use it in GitHub Desktop.
Check month change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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