Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Webslice
ISPConfig 3
Commits
63b9660f
Commit
63b9660f
authored
Aug 16, 2019
by
Till Brehm
Browse files
Fixes
#5369
Internal ISPConfig cronjobs are not run in 3.1-dev version
parent
7eb3be87
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/sql/incremental/upd_dev_collection.sql
View file @
63b9660f
...
...
@@ -35,3 +35,5 @@ ALTER TABLE `ftp_user` CHANGE COLUMN `password` `password` VARCHAR(200) DEFAULT
ALTER
TABLE
`shell_user`
CHANGE
COLUMN
`password`
`password`
VARCHAR
(
200
)
DEFAULT
NULL
;
ALTER
TABLE
`sys_user`
CHANGE
COLUMN
`passwort`
`passwort`
VARCHAR
(
200
)
DEFAULT
NULL
;
ALTER
TABLE
`webdav_user`
CHANGE
COLUMN
`password`
`password`
VARCHAR
(
200
)
DEFAULT
NULL
;
DELETE
FROM
sys_cron
WHERE
`next_run`
IS
NOT
NULL
AND
`next_run`
>=
DATE_ADD
(
`last_run`
,
INTERVAL
30
DAY
)
AND
`next_run`
BETWEEN
'2020-01-01'
AND
'2020-01-02'
;
server/lib/classes/cron.inc.php
View file @
63b9660f
...
...
@@ -265,8 +265,8 @@ class cron {
reset
(
$this
->
_aValidValues
[
$sField
]);
foreach
(
$this
->
_aValidValues
[
$sField
]
as
$cur
)
{
if
(
$bIncludeCurrent
==
true
&&
$cur
[
'value'
]
>=
$iValue
)
return
$cur
[
'value'
]
;
elseif
(
$cur
[
'value'
]
>
$iValue
)
return
$cur
[
'value'
]
;
if
(
$bIncludeCurrent
==
true
&&
$cur
>=
$iValue
)
return
$cur
;
elseif
(
$cur
>
$iValue
)
return
$cur
;
}
return
reset
(
$this
->
_aValidValues
[
$sField
]);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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