We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eca029 commit fce6abdCopy full SHA for fce6abd
func/main.sh
@@ -947,10 +947,10 @@ wait_for_backup_if_it_is_not_time_for_backup() {
947
then
948
hour=$(date +"%H");
949
while [ "$hour" -gt "6" ]; do
950
- if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
+ # if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
951
# do something when enter sleeping state
952
# $BIN/v-restart-web-backend
953
- fi
+ # fi
954
WAIT_LOOP_ENTERED=1
955
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`";
956
echo "$current_date_time - wait to backup user $user - current hour is $hour";
0 commit comments