mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-07-28 17:00:56 +02:00
fixing environment for cron
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
# Importing system enviroment as we run this script
|
||||
# mostly by cron wich not read it by itself
|
||||
source /etc/profile.d/vesta.sh
|
||||
source /etc/profile
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
@@ -17,7 +17,7 @@ queue=$1
|
||||
|
||||
# Importing system enviroment as we run this script
|
||||
# mostly by cron wich not read it by itself
|
||||
source /etc/profile.d/vesta.sh
|
||||
source /etc/profile
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
# Importing system enviroment as we run this script
|
||||
# mostly by cron wich do not read it by itself
|
||||
source /etc/profile.d/vesta.sh
|
||||
source /etc/profile
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
@@ -15,7 +15,7 @@ version=$1
|
||||
updates=''
|
||||
|
||||
# Importing system enviroment
|
||||
source /etc/profile.d/vesta.sh
|
||||
source /etc/profile
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
@@ -14,7 +14,7 @@ user=$1
|
||||
|
||||
# Importing system enviroment as we run this script
|
||||
# mostly by cron wich not read it by itself
|
||||
source /etc/profile.d/vesta.sh
|
||||
source /etc/profile
|
||||
|
||||
# Includes
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
@@ -742,7 +742,7 @@ validate_format(){
|
||||
stats_user) validate_format_username "$arg" "$arg_name" ;;
|
||||
template) validate_format_username "$arg" "$arg_name" ;;
|
||||
ttl) validate_format_int "$arg" ;;
|
||||
user) validate_format_username "$arg" ;;
|
||||
user) validate_format_username "$arg" "$arg_name" ;;
|
||||
wday) validate_format_mhdmw "$arg" $arg_name ;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user