"Last job execution ran X days ago. Something seems wrong." with cron.
-
Cloudron 9.0.17 Nextcloud 32.0.6 / com.nextcloud.cloudronapp@5.6.7 App was created....4-5? years agoHello all, I hope you're all doing well.
My Nextcloud install cron isn't running. I only realised when my RSS feeds weren't updating. This has been the case for maybe a month, or longer.

-
If I reboot the app, cron runs successfully.
-
I can run
cron.shmanually:
root@b9cb435f-94c7-497b-bedd-7eedf0a097e7:/app/code# /app/pkg/cron.sh => Run cron job root@b9cb435f-94c7-497b-bedd-7eedf0a097e7:/app/code#- I can run
/app/pkg/cron.shmanually from web-ui terminal
root@b9cb435f-94c7-497b-bedd-7eedf0a097e7:/app/code# /app/pkg/cron.sh => Run cron job root@b9cb435f-94c7-497b-bedd-7eedf0a097e7:/app/code#- I can run
/app/pkg/preview-cleanup.shmanually from web-ui terminal
root@b9cb435f-94c7-497b-bedd-7eedf0a097e7:/app/code# /app/pkg/preview-cleanup.sh => Run empty folder cleanup root@b9cb435f-94c7-497b-bedd-7eedf0a097e7:/app/code#cron.shcontents looks "normal"
#!/bin/bash echo "=> Run cron job" exec /usr/local/bin/gosu www-data:www-data php -f /app/code/cron.phppreview-cleanup.shcontents looks "normal"
#!/bin/bash set -eu set -o pipefail echo "=> Run empty folder cleanup" cd /app/code/ readonly instanceId=$(sudo -u www-data php occ config:system:get instanceid) cd /app/data/data/appdata_${instanceId}/preview/ find . -type d -empty -delete-
When I run
cron.shorpreview-cleanup.sh, nothing is logged in/run/nextcloud/nextcloud.log-tail -f /run/nextcloud/nextcloud.log | grep cron. -
I've read "cron job is automatically enabled in Cloudron. No need to do anything...".
-
Looking in the Cloudron app UI, I don't see any entries in the Nextcloud app crontab:

I can't find any other applicable forum posts.
I'm not sure where to go with things now. Any help most appreciated!
Update
Reading more about an app's crontab being managed from the Cloudron UI - is it possible that that possibility was brought by a recent update, and it's not been configured? Just a thought. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login