Hi @michiel,
in this way:
sudo /opt/magento-2.4.1-2/php/bin/php /opt/magento-2.4.1-2/apps/magento/htdocs/bin/magento cron:run
I get this error:
Please execute 'magento-cli' instead of 'magento' that uses the proper user to execute any Magento's command.
https://docs.bitnami.com/general/apps/magento/administration/using-magento-cli/
Instead in this way:
sudo /opt/magento-2.4.1-2/php/bin/php.bin /opt/magento-2.4.1-2/apps/magento/htdocs/bin/magento cron:run
I get this error:
/opt/magento-2.4.1-2/php/bin/php.bin: error while loading shared libraries: libzip.so.5: cannot open shared object file: No such file or directory
This is the situation:
find . -name "libzip.so*" -print
./usr/lib/x86_64-linux-gnu/libzip.so.4.0
./usr/lib/x86_64-linux-gnu/libzip.so.4
./usr/lib/x86_64-linux-gnu/libzip.so
./opt/magento-2.4.1-2/common/lib/libzip.so.5.0
./opt/magento-2.4.1-2/common/lib/libzip.so.5
./opt/magento-2.4.1-2/common/lib/libzip.so
./opt/magento-2.4.1-2/java/lib/libzip.so
./opt/magento-2.4.1-2/elasticsearch/jdk/lib/libzip.so
Regards,
Mino