diff --git a/autoshutdown.sh b/autoshutdown.sh index ae85b28..d074476 100755 --- a/autoshutdown.sh +++ b/autoshutdown.sh @@ -16,8 +16,8 @@ silent_exitcode() { } extend_ttl() { - # Extend time to live 10 minutes at a time - new_ttl="$(date -d '+10 min' +%s)" + # Extend time to live 30 minutes at a time + new_ttl="$(date -d '+30 min' +%s)" old_ttl="$(date -d "$(cat "$LIVE_UNTIL")" +%s)" if [ ! -f "$LIVE_UNTIL" ] || [ "$new_ttl" -ge "$old_ttl" ]; then # If LIVE_UNTIL file not existing or new time to live longer