Remember to move the cronjob if moving between servers: */5 * * * * /usr/bin/docker container exec -u www-data nextcloud php -f cron.php --define apc.enable_cli=1