mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Adding call for function wait_for_backup_if_it_is_not_time_for_backup
This commit is contained in:
parent
4814e7a28e
commit
9eca02980a
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
|
||||||
if [ ! -f "$VESTA/data/users/$user/user.conf" ]; then
|
if [ ! -f "$VESTA/data/users/$user/user.conf" ]; then
|
||||||
continue;
|
continue;
|
||||||
fi
|
fi
|
||||||
|
wait_for_backup_if_it_is_not_time_for_backup
|
||||||
check_suspend=$(grep "SUSPENDED='no'" $VESTA/data/users/$user/user.conf)
|
check_suspend=$(grep "SUSPENDED='no'" $VESTA/data/users/$user/user.conf)
|
||||||
log=$VESTA/log/backup.log
|
log=$VESTA/log/backup.log
|
||||||
if [ ! -z "$check_suspend" ]; then
|
if [ ! -z "$check_suspend" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue