Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-30Cleanup tempfiles after each cron job runbugfix/noid/temp-cronJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-24Get not only time-sensitive next job from list but anyKirill Popov
Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
2022-02-07Allow sysadmins to define a maintenance window where heavier jobs can runJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-19Output exception in cronLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-08-08cron: exit 1 on exceptionsmichel17
Allows the caller to more easily respond to cron failures. Signed-off-by: Stephen Michel <git@smichel.me>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-12-30Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-22Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma
Unify links to php.net
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-06Remove posix_getpwuid and compare only useridhoellen
Signed-off-by: hoellen <dev@hoellen.eu>
2020-09-17Unify links to php.netJ0WI
Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-17cron: Adapt to 5 minutes recommendationMichael Kuhn
Update the comment to make clear that we ask for 14 minutes worth of jobs on purpose so at most three parallel cron jobs are running. Signed-off-by: Michael Kuhn <michael@ikkoku.de>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-08-17Make the warning about wrong permissions more clear.Daniel Kesselberg
It's basically the same as for console.php now. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-22Make sure maintenance mode is always casted to boolJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-05-23Fix code styleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-22Less deprecated calls to OCP\Util::writeLogMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-26Deprecated OCP interface to fetch background job typeMorris Jobke
* was not used by apps and also is not needed * migrated the documentation to IJobList Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-12Log full exception in cron instead of only the messageMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-12-12Nextcloud 13 is not compatible with newer than php 7.2Roeland Jago Douma
Just to avoid users from trying this with a to new (untested) php version * Moved the check logic to 1 place * All directly callable scripts just require this on top * exit hard (-1) so we know scripts won't continue * Return status 500 so no sync clients will try fancy stuff Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-17Always log cron executionMorris Jobke
There was a setting to disable the last execution of cron. There is no known problem with this write access and it was also questioned when this feature was build in https://github.com/owncloud/core/pull/7689#issuecomment-38264707 Recently there was also a bug report about a non-visible last cron execution (#6088) - let's better remove this. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-25Add duration of last job execution to the tableNoveen Sachdeva
2017-03-11Check that set_time_limit is not disabled before calling itKo-
Signed-off-by: Ko- <k.stoffelen@cs.ru.nl>
2017-03-08Exit with error code if posix ext missing or wrong userArtem Sidorenko
similar to the console.php
2017-02-23Clean up single user modeMorris Jobke
Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-12-19Also check in cron for old php versionRoeland Jago Douma
Fixes #2756 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-12[master] Tear down FS between cron jobs (#26223)Vincent Petry
Because some cron jobs do not always properly clean up their FS usage and others might not clean up before setting up the FS, this could cause potential side effects. To make sure we exclude side effects, we tear down the FS between cron jobs. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-06Allow to call the files even when you are in another instance atmJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-08-09log class name, ID only is hard to debugJörn Friedrich Dreyer
2016-07-29introduce NEXTCLOUD_CONFIG_DIR env variable (see #300)Damjan Georgievski
nextcloud by default uses the `/config/` directory in the source/application tree for its config file(s). with this commit that directory can be overridden by the `NEXTCLOUD_CONFIG_DIR` environment variable. in uwsgi, you would use the option `--env "NEXTCLOUD_CONFIG_DIR=/tmp/nx-config/"` in apache `SetENV …` and the cli command can be run with: `NEXTCLOUD_CONFIG_DIR=/tmp/nx-config ./occ` (or just use `export` once in the shell). NEXTCLOUD_CONFIG_DIR can be supplied with or without the trailing slash (`/`), but in all cases `$configDir` will have it automatically added if needed. The other changes are several occurrences of `OC::$SERVERROOT . '/config'` to `OC::$configDir`.
2016-07-21Update with robinJoas Schilling
2016-07-21Fix othersJoas Schilling
2016-07-08Remove unneeded checks if it runs on a Windows machineMorris Jobke
* the setup check is still there
2016-05-26Update license headersLukas Reschke
2016-05-21Do not lock the cron anymore so we can have multiple workersJoas Schilling
2016-05-21Lock jobs while executing them, to allow multiple executors to run in parallelJoas Schilling
2016-04-21Make sure that CLI cron doesn't run for ever, but makes use of the next spawnJoas Schilling
2016-04-20Catch class Error on all root entrypointsThomas Müller
2016-01-28Do not create a loop that generates thousands of jobsJoas Schilling
2016-01-12Happy new year!Thomas Müller
2015-11-06Add debug log statement for IJobList steps in cron.phpMorris Jobke
* makes debugging easier
2015-10-30Replace some OC_Config calls with ILogger methodsMorris Jobke
2015-10-05update licence headers via scriptMorris Jobke
2015-09-21Minor text typosPhil Davis
that I noticed while looking at some code.
2015-08-21Add a session wrapper to encrypt the data before storing it on diskJoas Schilling