timezone
Restart cron
This commit is contained in:
parent
d86ef6de79
commit
2c99c0218e
1 changed files with 2 additions and 0 deletions
|
@ -637,6 +637,8 @@ set_timezone() {
|
|||
# Don't reload if running inside php-optim process.
|
||||
[[ $(conf_read status-api) != "ip3" ]] && sudo systemctl reload php$(conf_read php-ver)-fpm
|
||||
fi
|
||||
|
||||
sudo systemctl restart cron
|
||||
echo "${gre}Timezone has been successfully set!${dim} ($(conf_read timezone)) ${end}"
|
||||
else
|
||||
echo "${red}Timezone not found or not valid!${end}"
|
||||
|
|
Loading…
Add table
Reference in a new issue