fix date comparison
This commit is contained in:
parent
a5fb52c0f9
commit
a4db472045
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ bodymg='an error occured. invalid scope probably.'
|
|||
# Change settings here
|
||||
sendcc='no'
|
||||
|
||||
if [[ $month -eq 2 || $month -eq 4 || $month -eq 6 || $month -eq 8 || $month -eq 10 || $month -eq 12 ]]; then
|
||||
if [[ "$month" = "02" || "$month" = "04" || "$month" = "06" || "$month" = "08" || "$month" = "10" || "$month" = "12" ]]; then
|
||||
# in diesem Monat senden
|
||||
if [ $day -gt 7 ]; then
|
||||
# nicht senden, falls wir schon nach der ersten woche sind
|
||||
|
|
Loading…
Reference in a new issue