Skip to content

Commit 15e54cb

Browse files
committed
remove cron run from admin page - too likely to interfere w background cron
1 parent ca80440 commit 15e54cb

3 files changed

Lines changed: 1 addition & 11 deletions

File tree

public/admin/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
</form>
3131
<div id="cli-options">
3232
<button onclick="cliCheck()">Check installation for errors</button>
33-
<button onclick="cliCronRun()">Run scheduled tasks</button>
3433
<button onclick="cliUpdatesList()">List available updates</button>
3534
<button onclick="cliUpdatesRun()">Run available updates</button>
3635
</div>

public/admin/run.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
exit();
3333
}
3434

35-
$validCommands = ['check install', 'cron run', 'updates list all', 'updates run all'];
35+
$validCommands = ['check install', 'updates list all', 'updates run all'];
3636
if (in_array($json->command, $validCommands)) {
3737
$output = [];
3838
$resultCode = 0;

public/admin/script.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ async function cliCheck()
3333
run(data);
3434
}
3535

36-
async function cliCronRun()
37-
{
38-
const data = {
39-
command: "cron run"
40-
};
41-
42-
run(data);
43-
}
44-
4536
async function cliUpdatesList()
4637
{
4738
const data = {

0 commit comments

Comments
 (0)