Do not pad day of month with zero for calculating node.
This commit is contained in:
parent
512332de57
commit
2ac3d7cf88
|
@ -14,4 +14,4 @@ MAIL_TO="jdoe@example.com"
|
|||
LOG="/var/log/evobackup.log"
|
||||
|
||||
# Used when you have more than one backup server.
|
||||
NODE=$(( $(date +%d) % 2 ))
|
||||
NODE=$(( $(date +%-d) % 2 ))
|
||||
|
|
Loading…
Reference in a new issue