mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
Added hint to set cron command in dashboard panel when cron is not set correctly
This commit is contained in:
@@ -38,7 +38,13 @@ class GetDashboardDataController extends Controller
|
||||
],
|
||||
],
|
||||
'app' => [
|
||||
'isRunningCron' => isRunningCron(),
|
||||
'cron' => [
|
||||
'isRunning' => isRunningCron(),
|
||||
'command' => [
|
||||
'shared' => PHP_BINARY . ' ' . base_path() . '/artisan schedule:run >> /dev/null 2>&1',
|
||||
'vps' => '* * * * * cd ' . base_path() . ' && ' . PHP_BINARY . ' artisan schedule:run >> /dev/null 2>&1',
|
||||
],
|
||||
],
|
||||
'license' => get_settings('license'),
|
||||
'version' => config('vuefilemanager.version'),
|
||||
'earnings' => format_currency($totalEarnings, 'USD'), // todo: refactor currency to global setup or plan currency
|
||||
|
||||
Reference in New Issue
Block a user