[SOLVED] Nextcloud cronjob

  • Dear all,

    i have a trouble with the cron service on the nextcloud docker , some folders are not synchronized.

    I check on the docker console the crontab but seems ok


    */15 * * * * run-parts /etc/periodic/15min

    0 * * * * run-parts /etc/periodic/hourly

    0 2 * * * run-parts /etc/periodic/daily

    0 3 * * 6 run-parts /etc/periodic/weekly

    0 5 1 * * run-parts /etc/periodic/monthly

    # nextcloud cron

    */5 * * * * s6-setuidgid abc php7 -f /config/www/nextcloud/cron.php


    The nextcloud image is updated to latest, so i dont know were is the issue.

    Any advice will be appreciated,


    Best regards,

    Daniele.

    OMV 7.X.X

    HP Microserver Gen 10 Plus, 3X2TB Data , 1x4TB Parity , Usb Thumb for OS , 32g Ecc Ram , 1x500G nvme Docker.

  • I solved by make a cron job on the openmediavault's scheduled task .

    Is important to use the abc user for the command


    "docker exec -u abc nextcloud php7 -f /config/www/nextcloud/cron.php"

    OMV 7.X.X

    HP Microserver Gen 10 Plus, 3X2TB Data , 1x4TB Parity , Usb Thumb for OS , 32g Ecc Ram , 1x500G nvme Docker.

  • siteswap423

    Changed the title of the thread from “Nextcloud cronjob” to “[SOLVED] Nextcloud cronjob”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!