Skip to content

Commit 6959c38

Browse files
committed
added profile include for cron launch
1 parent b2f1c3c commit 6959c38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/v-restore-user

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
# Variable&Function #
1010
#----------------------------------------------------------#
1111

12+
# Import VESTA variable for cron launch
13+
source /etc/profile
14+
1215
# Argument defenition
1316
user=$1
1417
backup=$2

0 commit comments

Comments
 (0)