1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-02 21:04:42 -07:00

fixing environment for cron

This commit is contained in:
Serghey Rodin 2012-07-10 15:18:19 +03:00
parent ebf9994fb7
commit 50f7bcc66e
6 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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