Auto-Archiving Cron not working

I’m unable to get the Auto-Archiving cron to work… It’s not running, while other crons are running without any issues.

Tried running the cron via crontab -e (user) and nano /etc/crontab (root).

The cron settings:
crontab -e

5 * * * * /usr/local/bin/php /var/www/html/console core:archive --url=https://website.com/ > var/www/logs/cron.log 2>&1
# empty line

nano /etc/crontab

5 * * * *   root    /usr/local/bin/php /var/www/html/console core:archive --url=https://website.com/ > var/www/logs/cron.log 2>&1
# empty line

Running the command manually works fine:

/usr/local/bin/php /var/www/html/console core:archive --url=https://website.com

INFO [2022-04-07 12:01:37] 2966  ---------------------------
INFO [2022-04-07 12:01:37] 2966  INIT
INFO [2022-04-07 12:01:37] 2966  Running Matomo 4.8.0 as Super User
INFO [2022-04-07 12:01:37] 2966  ---------------------------
INFO [2022-04-07 12:01:37] 2966  NOTES

Hopefully someone is able to help :slight_smile:

Is it the same as:

:question: