From dd1be2e93785a94530d85941acd692d53a99f380 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 29 Jun 2021 14:18:27 +0200 Subject: [PATCH] Fix --- conf/cron | 2 +- scripts/upgrade | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/cron b/conf/cron index e4838e8..d3bd95c 100644 --- a/conf/cron +++ b/conf/cron @@ -1,2 +1,2 @@ -MAILTO=__EMAIL__ +MAILTO="__EMAIL__" 5 * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/console core:archive --url=https://__DOMAIN____PATH__ > /dev/null diff --git a/scripts/upgrade b/scripts/upgrade index 2fef04b..cc94087 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,6 +21,8 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) +admin=$YNH_APP_ARG_ADMIN +email=$(ynh_user_get_info --username=$admin --key=mail) #================================================= # CHECK VERSION