Skip to content

Commit c4571ad

Browse files
committed
import system variables for cron usage
1 parent 2760402 commit c4571ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/v-backup-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+
# Importing system variables
13+
source /etc/profile
14+
1215
# Argument defenition
1316
user=$1
1417
notify=${2-no}

0 commit comments

Comments
 (0)