mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
OR instead AND
This commit is contained in:
parent
f8461813d7
commit
a46490af77
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ wait_for_backup_if_it_is_not_time_for_backup() {
|
||||||
if pgrep -x "v-backup-users" > /dev/null
|
if pgrep -x "v-backup-users" > /dev/null
|
||||||
then
|
then
|
||||||
hour=$(date +"%H");
|
hour=$(date +"%H");
|
||||||
while [ "$hour" -gt "6" ] && [ "$hour" -lt "1" ]; do
|
while [ "$hour" -gt "6" ] || [ "$hour" -lt "1" ]; do
|
||||||
# if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
|
# if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
|
||||||
# do something when enter sleeping state
|
# do something when enter sleeping state
|
||||||
# $BIN/v-restart-web-backend
|
# $BIN/v-restart-web-backend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue