Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
cfaee935
Commit
cfaee935
authored
Mar 11, 2015
by
Morris Jobke
Browse files
Merge pull request #14783 from owncloud/dont-timeout-cron-master
cron.php on cli has no time limitation - fixes #14481
parents
01ea056a
b4cf6e62
Changes
1
Hide whitespace changes
Inline
Side-by-side
cron.php
View file @
cfaee935
...
...
@@ -58,6 +58,9 @@ try {
}
if
(
OC
::
$CLI
)
{
// set to run indefinitely if needed
set_time_limit
(
0
);
$config
=
OC
::
$server
->
getConfig
();
$instanceId
=
$config
->
getSystemValue
(
'instanceid'
);
$lockFileName
=
'owncloud-server-'
.
$instanceId
.
'-cron.lock'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment