Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: backgroud jobs 15 min vs. 5 min #1587

Closed
koppd opened this issue Aug 21, 2019 · 6 comments · Fixed by nextcloud/server#16865
Closed

Documentation: backgroud jobs 15 min vs. 5 min #1587

koppd opened this issue Aug 21, 2019 · 6 comments · Fixed by nextcloud/server#16865

Comments

@koppd
Copy link

koppd commented Aug 21, 2019

The background jobs configuration page [1] of my installation offers three options [german]:
"AJAX
Eine Aufgabe bei jedem Laden einer Seite ausführen

Webcron
cron.php ist als Webcron-Dienst registriert, der die cron.php alle 15 Minuten per HTTP aufruft.

Cron
Nutzen Sie den System-Cron-Service um cron.php alle 15 Minuten aufzurufen. Die cron.php muss durch den Systemnutzer "wwwrun" ausgeführt werden. "

Both cron options mention a 15 minute cycle.
The corresponding documentation [2] mentions in the examples always a 5 minute cycle.
(e.g. "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:")

I suggest to change the documentation to 15 minutes (6 hits on that page).

[1] https:///index.php/settings/admin
[2] https://docs.nextcloud.com/server/16/admin_manual/configuration_server/background_jobs_configuration.html

@kesselb
Copy link
Contributor

kesselb commented Aug 21, 2019

Mind to use the "Edit on GitHub" button on [2] to suggest such a change?

@kesselb kesselb transferred this issue from nextcloud/server Aug 21, 2019
@koppd
Copy link
Author

koppd commented Aug 21, 2019

#1588
However, I'm not familiar with the process.
Please let me know, if I can do anything else.

@nickvergessen
Copy link
Member

5mins is actually correct.

@tflidd
Copy link
Contributor

tflidd commented Sep 1, 2019

@nickvergessen Is keeping 15 minutes a problem? Some even take longer times during the night to avoid their disks from spinning up. How critical is this setting?

@nickvergessen
Copy link
Member

Well it depends on the size of your instance and the live-ness you want to feel. You should check the oc_jobs table regularly and see if it starts growing (then its run too few)

@nickvergessen
Copy link
Member

So, if it's about your 1 user home instance sure, 15mins and save some energy.
If you manage a company where people rely on activity emails to be delivered in time update it to 5 mins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants