calculate rest-time
This commit is contained in:
parent
580006d849
commit
360652a126
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ EOF
|
|||
fi
|
||||
else
|
||||
local seconds=$(( $(date "+%s") - $(date --date="${MSC_GIT_REPO_UPDATE_INTERVALL-${MSC_GIT_REPO_UPDATE_INTERVALL_DEFAULT}} hours ago" "+%s") ))
|
||||
logwarn "sync-intervall (${MSC_GIT_REPO_UPDATE_INTERVALL-${MSC_GIT_REPO_UPDATE_INTERVALL_DEFAULT}} hours, \
|
||||
$((seconds/86400))" days" $(date -d "1970-01-01 + $seconds seconds" "+%H hours %M minutes %S seconds") left ) not reached"
|
||||
logwarn "sync-intervall (${MSC_GIT_REPO_UPDATE_INTERVALL-${MSC_GIT_REPO_UPDATE_INTERVALL_DEFAULT}} hours, $((seconds/86400))" days" $(date -d "1970-01-01 + $seconds seconds" "+%H hours %M minutes %S seconds") left ) not reached"
|
||||
return 2
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue