Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. "Last job execution ran X days ago. Something seems wrong." with cron.

"Last job execution ran X days ago. Something seems wrong." with cron.

Scheduled Pinned Locked Moved Unsolved Nextcloud
2 Posts 2 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    wrote last edited by ei8fdb
    #1
    Cloudron 9.0.17
    Nextcloud 32.0.6 / com.nextcloud.cloudronapp@5.6.7
    App was created....4-5? years ago
    

    Hello 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.
    Screenshot 2026-03-20 at 09.21.08.png

    • If I reboot the app, cron runs successfully.

    • I can run cron.sh manually:

    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.sh manually 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.sh manually 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.sh contents looks "normal"
    #!/bin/bash
    echo "=> Run cron job"
    exec /usr/local/bin/gosu www-data:www-data php -f /app/code/cron.php
    
    • preview-cleanup.sh contents 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.sh or preview-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:
      165cb608-b2c7-45fe-b131-cd02b0cfcf65-image.jpeg

    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.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #2

      @ei8fdb so the warning does not go away even when you run the cron.sh manually?

      Nextcloud's cron is already in the package, there is no need to configure anything manually.

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search