Morris Jobke
60b8aa2a83
Removed OC_BackgroundJob - reduce class overhead
* method code is now in the static public namespace (5 sloc)
преди 9 години
Robin Appelman
d96e9d174b
block cron when in single user mode
преди 9 години
Thomas Müller
5ebd3a9e89
Cron has to be executed with the correct user - fixes 13912 and others
преди 9 години
Jenkins for ownCloud
b585d87d9d
Update license headers
преди 9 години
Thomas Müller
e3fd13de88
cron shall not operate in case we are in maintenance mode - fixes #14843
преди 9 години
Thomas Müller
b4cf6e62bf
cron.php on cli has no time limitation - fixes #14481
преди 9 години
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
преди 9 години
Bernhard Posselt
5b506ab518
use flock instead of just checking if there is a file to prevent deadlocks when the process crashed or the unlink wasnt done
move cron.lock into top directory to prevent external storage issues
use tmp directory lock file
use new config interface
incorporate #13770
add dots
преди 9 години
Jenkins for ownCloud
6a1a4880f0
Updating license headers
преди 9 години
Robin Appelman
0b96297783
Use the TempManager to handle temporary files
преди 9 години
Thomas Müller
d9907b6fa3
move some deprecated usage of OC_Config and OC_AppConfig to \OC::server
преди 9 години
Morris Jobke
b7445582dc
add proper End of Line character
преди 10 години
Jörn Friedrich Dreyer
f551917a3c
kill OC::$session
maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession
restore order os OC::$session and OC::$CLI
remove unneded initialization of dummy session
write back session when $useCustomSession is true
log warning when deprecated app is used
преди 10 години
Oliver Kohl D.Sc.
2ff369e7f3
Update cron.php
преди 10 години
Oliver Kohl D.Sc.
97e61f438f
CRON call ends in null exception
[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message
: PHP Fatal error: Call to a member function execute() on null in /var/www/ownc
loud/cron.php on line 125" while reading response header from upstream, client:
217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre
am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: "
https://cloud.mycloud.com/ "
преди 10 години
Vincent Petry
547927bdd2
Prevent cron.php to trigger apps updating
преди 10 години
Steffen Lindner
22394fa4f5
Fix indent
преди 10 години
Steffen Lindner
9433b94fd5
initialize a dummy memory session - fixes https://github.com/owncloud/activity/issues/78
преди 10 години
kondou
547b563464
Log last cron execution
Fixes #2012
преди 10 години
Thomas Müller
58c216d0e8
close the session on all file operations
преди 10 години
Thomas Müller
e139f7c863
load all apps to get all cron jobs executed
преди 10 години
Robin Appelman
a6399f9cef
Add the background job list to the public server container
преди 10 години
Robin Appelman
35bb6f7e3a
Catch exceptions from background jobs and log them
преди 10 години
Boris Rybalkin
00c998c5bb
fixing typo
Typo in comment "feature" => "future"
преди 10 години
kondou
9e8a6b704d
Add _many_ newlines at the end of files
преди 11 години
Jörn Friedrich Dreyer
8dc6bdd96b
clean up usage of DatabaseSetupException and catch Exceptions in entrypoints
преди 11 години
Michael Gapczynski
9b622bdeed
RUNTIME_NOSETUPFS no longer exists, using tearDownFS() in public links instead
преди 11 години
Robin Appelman
7948341a86
Rework background job system
преди 11 години
Robin Appelman
d0a5fe1f4a
code style
преди 11 години
kondou
6ee2b4c740
No personal prefixes for variables.
преди 11 години
Robin Appelman
d3858e9f96
Close sessions when doing background jobs
преди 11 години
Valerio Ponte
8e190a5a97
Moved X-Sendfile headers into OC_Files::get
now should work with temp files too
преди 11 години
Felix Moeller
f8d1d7787e
Checkstyle fixes for SpaceBeforeOpenBrace
преди 11 години
Jakob Sack
22dcd3b6a6
fix bug
преди 11 години
Jakob Sack
f5f204de56
improve cron.php, add locking for cli cron.php
преди 11 години
Sam Tuke
8b01286a5d
Merged branch 'master'
преди 11 години
Thomas Mueller
3829460ab8
adding space between) and {
преди 12 години
Thomas Müller
a1bd1ae484
Update cron.php
respect coding style
преди 12 години
Jakob Sack
bf7afa28d5
Backgroundjobs: cron.php now checks for mode=="none"
преди 12 години
Jakob Sack
0de81f9dad
Backgroundjobs: don't execute cron.php if owncloud has not been installed
преди 12 години
Jakob Sack
831ec985db
Backgroundjobs: fix stupid bug
преди 12 години
Jakob Sack
7b3c35107d
Error handling works better now
преди 12 години
Jakob Sack
66511469e0
Backgroundjobs: Improve error handling in cron.php
преди 12 години
Jakob Sack
889f0a1c6d
rename appconfig keys for backgroundjobs
преди 12 години
Jakob Sack
13a0818fec
Be more precise regarding backgroundjobs mode
преди 12 години
Jakob Sack
14cbb8724c
Add "cron.php" for background jobs. It is named cron.php because more people will recognize the purpose of the file then.
преди 12 години