From eb74089b8991edf93253468c573810b0a691373b Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 22 May 2023 11:46:28 +0200 Subject: [PATCH] add snap/bin to the $PATH for cron task --- ci_cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci_cron b/ci_cron index 91edf88..6d2b5d6 100644 --- a/ci_cron +++ b/ci_cron @@ -1,2 +1,2 @@ # Upgrade all continers -30 2 * * * root /bin/bash -c "/opt/yunohost-ci/auto_upgrade_container.sh >> /opt/yunohost-ci/upgrade.log 2>>/opt/yunohost-ci/upgrade-error.log" +30 2 * * * root PATH=/snap/bin/:$PATH /bin/bash -c "/opt/yunohost-ci/auto_upgrade_container.sh >> /opt/yunohost-ci/upgrade.log 2>>/opt/yunohost-ci/upgrade-error.log" \ No newline at end of file