From 5a99774dc11b63427707a371b255b894c4e48d06 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 5 May 2014 17:16:19 +0300 Subject: [PATCH] fixed autoupdate function --- bin/v-add-cron-vesta-autoupdate | 2 +- bin/v-update-sys-vesta-all | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/v-add-cron-vesta-autoupdate b/bin/v-add-cron-vesta-autoupdate index b29f3e286..84c041c40 100755 --- a/bin/v-add-cron-vesta-autoupdate +++ b/bin/v-add-cron-vesta-autoupdate @@ -39,7 +39,7 @@ min=$(gen_password '012345' '2') hour=$(gen_password '1234567' '1') day='*' month='*' -WDAY='*' +wday='*' command='sudo /usr/local/vesta/bin/v-update-sys-vesta-all' # Concatenating cron string diff --git a/bin/v-update-sys-vesta-all b/bin/v-update-sys-vesta-all index 67b0712c6..f73ef95e7 100755 --- a/bin/v-update-sys-vesta-all +++ b/bin/v-update-sys-vesta-all @@ -19,7 +19,7 @@ source $VESTA/conf/vesta.conf #----------------------------------------------------------# # 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" done