add snap/bin to the $PATH for cron task

This commit is contained in:
Kay0u 2023-05-22 11:46:28 +02:00
parent a89298382e
commit eb74089b89
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -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"