AWS-DDNS added logging on run
This commit is contained in:
parent
fbd16211a0
commit
4632cbfd52
@ -32,3 +32,8 @@ result="$(aws route53 change-resource-record-sets --hosted-zone-id "${HOSTED_ZON
|
||||
echo \
|
||||
"Current Record Status:
|
||||
$(jq '.ChangeInfo.Status' <(echo "${result}"))"
|
||||
|
||||
current_time="$(date +%Y-%m-%dT%H:%M:%S)"
|
||||
cat << EOF >> DDNS_Updates.log
|
||||
DDNS Update made @ ${current_time}
|
||||
EOF
|
Loading…
Reference in New Issue
Block a user