mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
fixed autoupdate function
This commit is contained in:
parent
f50c068ecf
commit
5a99774dc1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue