Skip to content

Commit 5a99774

Browse files
committed
fixed autoupdate function
1 parent f50c068 commit 5a99774

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/v-add-cron-vesta-autoupdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ min=$(gen_password '012345' '2')
3939
hour=$(gen_password '1234567' '1')
4040
day='*'
4141
month='*'
42-
WDAY='*'
42+
wday='*'
4343
command='sudo /usr/local/vesta/bin/v-update-sys-vesta-all'
4444

4545
# Concatenating cron string

bin/v-update-sys-vesta-all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ source $VESTA/conf/vesta.conf
1919
#----------------------------------------------------------#
2020

2121
# Starting update loop
22-
for package in vesta vesta-ngin vesta-php; do
22+
for package in vesta vesta-nginx vesta-php; do
2323
$BIN/v-update-sys-vesta "$package"
2424
done
2525

0 commit comments

Comments
 (0)