fixed autoupdate function

This commit is contained in:
Serghey Rodin 2014-05-05 17:16:19 +03:00
commit 5a99774dc1
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ min=$(gen_password '012345' '2')
hour=$(gen_password '1234567' '1') hour=$(gen_password '1234567' '1')
day='*' day='*'
month='*' month='*'
WDAY='*' wday='*'
command='sudo /usr/local/vesta/bin/v-update-sys-vesta-all' command='sudo /usr/local/vesta/bin/v-update-sys-vesta-all'
# Concatenating cron string # Concatenating cron string

View file

@ -19,7 +19,7 @@ source $VESTA/conf/vesta.conf
#----------------------------------------------------------# #----------------------------------------------------------#
# Starting update loop # Starting update loop
for package in vesta vesta-ngin vesta-php; do for package in vesta vesta-nginx vesta-php; do
$BIN/v-update-sys-vesta "$package" $BIN/v-update-sys-vesta "$package"
done done