Added hint to set cron command in dashboard panel when cron is not set correctly

This commit is contained in:
Čarodej
2022-06-27 19:29:34 +02:00
parent e274088b71
commit 4cafb726df
7 changed files with 25 additions and 36 deletions

View File

@@ -12,8 +12,10 @@
</AlertBox>
<!--Cron Alert-->
<AlertBox v-if="!data.app.isRunningCron && !config.isDev" color="rose">
We detect your cron jobs probably doesn't work correctly, please check it, you need it for running app correctly. If you set your cron job, please get back one minute later.
<AlertBox v-if="!data.app.cron.isRunning && !config.isDev" color="rose">
<p class="text-sm text-rose-700 dark:text-rose-500">We detect your cron jobs probably doesn't work correctly, please check it, you need it for running app correctly. If you set your cron job, please get back one minute later.</p>
<p class="text-sm text-rose-700 dark:text-rose-500 mt-4 font-bold">Command for Shared Web Hosting: <br/> {{ data.app.cron.command.shared }}</p>
<p class="text-sm text-rose-700 dark:text-rose-500 mt-4 font-bold">Command for VPS Crontab: <br/> {{ data.app.cron.command.vps }}</p>
</AlertBox>
<!--Metric widgets-->