From 43acb56986794557803e3fd5315a690e64035130 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 19 Jul 2021 09:47:58 +0200 Subject: [PATCH] Fix --- conf/cron | 2 +- scripts/restore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/cron b/conf/cron index f401a8f..223dfbf 100644 --- a/conf/cron +++ b/conf/cron @@ -1,2 +1,2 @@ # Run poller periodically to update Friendica -*/10 * * * * __APP__ cd __FINALPATH__; /usr/bin/php__PHPVERSION__ bin/worker.php +*/10 * * * * __APP__ /usr/bin/php__PHPVERSION__ -f __FINALPATH__/bin/worker.php diff --git a/scripts/restore b/scripts/restore index cceb571..c3172c7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -95,6 +95,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= # RESTORE THE CRON FILE #================================================= +ynh_script_progression --message="Restoring various files..." --weight=1 ynh_restore_file "/etc/cron.d/$app"