mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Don't make backup before 1 AM
This commit is contained in:
parent
38f5b16019
commit
f8461813d7
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
|
||||
then
|
||||
hour=$(date +"%H");
|
||||
while [ "$hour" -gt "6" ]; do
|
||||
while [ "$hour" -gt "6" ] && [ "$hour" -lt "1" ]; do
|
||||
# if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
|
||||
# do something when enter sleeping state
|
||||
# $BIN/v-restart-web-backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue