In case if cron isn't set, in Settings/Server tab you will see suggestions for cron command

This commit is contained in:
Čarodej
2022-08-08 16:57:15 +02:00
parent 88fa5732d3
commit 60cdcff4ff
6 changed files with 38 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ class GetServerStatusController
$status['cron'] = [
'running' => isRunningCron(),
'lastUpdate' => isRunningCron() ? format_date(cache()->get('latest_cron_update')) : null,
'command' => getCronCommandSuggestions(),
];
return response()->json($status);