o
Nextcloud does a fair amount in the background: indexing files, generating previews, emptying the trash, syncing federated shares, sending notifications. Without system access you switch to webcron mode and have cron.php called from outside.
Why at all
By default Nextcloud runs in AJAX mode. Background jobs then only start while somebody has the web interface open. On an instance used by two people during the day and nobody at night, jobs pile up.
You notice it in small things: previews are missing, the trash never expires, calendar reminders arrive late, and the admin area warns that the last background job was a long time ago.
One thing to know before switching: in webcron mode Nextcloud runs exactly one job per call. At one call every five minutes that is 288 jobs a day. The vendor documentation considers that sufficient only for very small installations with a handful of users. At a one-minute interval you get 1,440 jobs a day, which goes considerably further.
https://cloud.ihre-domain.de/cron.phpSetup
Sign in as an administrator and open the administration settings, basic settings section. Under background jobs select webcron. If you have command line access you can use the following command instead.
sudo -u www-data php occ background:webcron
Open https://cloud.your-domain.com/cron.php once. A blank page is correct. If your Nextcloud lives in a subdirectory, that belongs in the address too.
Enter the address and pick the schedule. For the five-minute interval select minutes 0, 5, 10 and so on, for the one-minute interval select all of them.
*/5 * * * *
After roughly ten minutes the background jobs warning disappears from the administration settings, and the time of the last successful run is shown there.
Verification
The administration settings show when the last background job ran. If that timestamp is from the last few minutes, it works. The Cronjob.de call log additionally shows how long each call took. Values of several seconds point to a full queue, in which case a shorter interval makes sense.
FAQ
Create an account, enter the address, click the schedule. Three cronjobs are free forever, the first 14 days run on the Unlimited plan.
Start for free See pricingMore guides
Official documentation of Nextcloud
The details about Nextcloud come from their own documentation, as of September 2026. Please check there whether anything has changed since.