This file contains hidden or 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 | |
| # odd-day-task: Run an agent task on odd days of the month | |
| REPLY_TO="+1234567890" | |
| REPLY_ACCOUNT="your-account" | |
| DAY=$(date +%d) | |
| # Check if odd day (remove leading zero for arithmetic) | |
| if (( 10#$DAY % 2 == 1 )); then |