Nextcloud - Hintergrundaufgaben, Cronjob funktioniert nicht mehr

L I V E Stammtisch ab 20:30 Uhr im Chat
  • Hallo zusammen,

    ich betreibe nun seit ca. einem halben Jahr meine Nextcloud auf einem RaspberryPi 4 8GB.

    Heute fiel mir beim Durchsehen der Einstellungen auf, dass die Hintergrundaufgaben nicht mehr ausgeführt werden.

    Die cron.php liegt in folgendem Verzwichnis:

    Code
    root@Andi-rb4b01:/home/andi# ls /var/www/nextcloud/
    3rdparty  console.php  data        occ           public.php  status.php
    apps      COPYING      index.html  ocm-provider  remote.php  themes
    AUTHORS   core         index.php   ocs           resources   updater
    config    cron.php     lib         ocs-provider  robots.txt  version.php

    Mit crontab -e hab ich die crontab editiert:



    Bisher hat es auch funktioniert...und jetzt (wann das JETZT ist, weiß ich natürlich erst mal nicht genau) funktioniert es nicht mehr.

    Hat da jemand eine Idee?

    Als Info:

    PHP 7.3.29

    mysql 10.3.31

    Nextcloud 21.0.5

  • Nextcloud - Hintergrundaufgaben, Cronjob funktioniert nicht mehr? Schau mal ob du hier fündig wirst!

  • Den hab ich bei der Einrichtung des PIs erstellt...und es hat bisher auch funktioniert.

    Wenn ich die Ausführung mit sudo service cron status kontrolliere, bekomme ich folgende Ausgabe:

  • Background jobs — Nextcloud latest Administration Manual latest documentation

    Code
    Cron
    Using the operating system cron feature is the preferred method for executing regular tasks. This method enables the execution of scheduled jobs without the inherent limitations the Web server might have.
    
    To run a cron job on a *nix system, every 5 minutes, under the default Web server user (often, www-data or wwwrun), you must set up the following cron job to call the cron.php script:
    
    # crontab -u www-data -e
    And append this line:
    
    */5  *  *  *  * php -f /var/www/nextcloud/cron.php

    Das meinst du?

    Das hab ich gesehen. Aber ich würde gern verstehen, warum es ja bisher funktioniert hat....

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!