diff --git a/conf/cron_kanboard b/conf/cron_kanboard index f17a594..eb9679c 100644 --- a/conf/cron_kanboard +++ b/conf/cron_kanboard @@ -1,2 +1,2 @@ # Execute the daily cronjob at 8am -0 8 * * * __APP__ cd "__FINALPATH__" && PHP__YNH_PHP_VERSION__ ./cli cronjob >/dev/null 2>&1 \ No newline at end of file +0 8 * * * __APP__ cd "__FINALPATH__" && PHP__PHPVERSION__ ./cli cronjob >/dev/null 2>&1 \ No newline at end of file diff --git a/scripts/install b/scripts/install index 632a4f3..cbb9e02 100644 --- a/scripts/install +++ b/scripts/install @@ -151,6 +151,7 @@ ynh_script_progression --message="Setuping a cron..." cp ../conf/cron_kanboard /etc/cron.d/$app ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app" +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app" #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index 4229c1f..3c23c7e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -178,6 +178,7 @@ ynh_script_progression --message="Setuping a cron..." cp ../conf/cron_kanboard /etc/cron.d/$app ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app" +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app" #================================================= # SETUP SSOWAT