mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
echo for backup wait
This commit is contained in:
parent
55a593c475
commit
b4bb0bb5e8
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ if pgrep -x "v-backup-users" > /dev/null
|
|||
then
|
||||
hour=$(date +"%H");
|
||||
while [ "$hour" -gt "6" ]; do
|
||||
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`";
|
||||
echo "$current_date_time - wait for backup user $user";
|
||||
sleep 300
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue