From 2c99c0218ea4e49c7189d7d4f6ef505f98130074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Mart=C3=ADnez=20Ochoa?= Date: Thu, 28 Apr 2022 17:23:44 -0600 Subject: [PATCH] timezone Restart cron --- lib/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/install b/lib/install index 3606e52..fc32d5f 100644 --- a/lib/install +++ b/lib/install @@ -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}"