mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
fixing environment for cron
This commit is contained in:
parent
ebf9994fb7
commit
50f7bcc66e
6 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
# Importing system enviroment as we run this script
|
# Importing system enviroment as we run this script
|
||||||
# mostly by cron wich not read it by itself
|
# mostly by cron wich not read it by itself
|
||||||
source /etc/profile.d/vesta.sh
|
source /etc/profile
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
source $VESTA/conf/vesta.conf
|
source $VESTA/conf/vesta.conf
|
||||||
|
|
|
@ -17,7 +17,7 @@ queue=$1
|
||||||
|
|
||||||
# Importing system enviroment as we run this script
|
# Importing system enviroment as we run this script
|
||||||
# mostly by cron wich not read it by itself
|
# mostly by cron wich not read it by itself
|
||||||
source /etc/profile.d/vesta.sh
|
source /etc/profile
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
source $VESTA/conf/vesta.conf
|
source $VESTA/conf/vesta.conf
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
# Importing system enviroment as we run this script
|
# Importing system enviroment as we run this script
|
||||||
# mostly by cron wich do not read it by itself
|
# mostly by cron wich do not read it by itself
|
||||||
source /etc/profile.d/vesta.sh
|
source /etc/profile
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
source $VESTA/conf/vesta.conf
|
source $VESTA/conf/vesta.conf
|
||||||
|
|
|
@ -15,7 +15,7 @@ version=$1
|
||||||
updates=''
|
updates=''
|
||||||
|
|
||||||
# Importing system enviroment
|
# Importing system enviroment
|
||||||
source /etc/profile.d/vesta.sh
|
source /etc/profile
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
source $VESTA/conf/vesta.conf
|
source $VESTA/conf/vesta.conf
|
||||||
|
|
|
@ -14,7 +14,7 @@ user=$1
|
||||||
|
|
||||||
# Importing system enviroment as we run this script
|
# Importing system enviroment as we run this script
|
||||||
# mostly by cron wich not read it by itself
|
# mostly by cron wich not read it by itself
|
||||||
source /etc/profile.d/vesta.sh
|
source /etc/profile
|
||||||
|
|
||||||
# Includes
|
# Includes
|
||||||
source $VESTA/conf/vesta.conf
|
source $VESTA/conf/vesta.conf
|
||||||
|
|
|
@ -742,7 +742,7 @@ validate_format(){
|
||||||
stats_user) validate_format_username "$arg" "$arg_name" ;;
|
stats_user) validate_format_username "$arg" "$arg_name" ;;
|
||||||
template) validate_format_username "$arg" "$arg_name" ;;
|
template) validate_format_username "$arg" "$arg_name" ;;
|
||||||
ttl) validate_format_int "$arg" ;;
|
ttl) validate_format_int "$arg" ;;
|
||||||
user) validate_format_username "$arg" ;;
|
user) validate_format_username "$arg" "$arg_name" ;;
|
||||||
wday) validate_format_mhdmw "$arg" $arg_name ;;
|
wday) validate_format_mhdmw "$arg" $arg_name ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue