![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/mirasvit/module-core/src/Core/view/adminhtml/templates/backend/ |
<?php /** @var \Mirasvit\Core\Block\Adminhtml\Cron $block */ $lastExecutedJob = $block->getLastExecutedJob(); ?> <section style="margin-bottom: 2rem;"> <div class="admin__page-section-item-title"><span class="title"><?= __('Status') ?></span></div> <table class="table data-table admin__table-secondary"> <tr> <th><?= __('Server gmt time') ?></th> <td><?= $block->getGmtDateTime() ?></td> </tr> <?php if ($lastExecutedJob): ?> <tr> <th><?= __('Last job') ?></th> <td><?= $lastExecutedJob->getJobCode() ?></td> </tr> <tr> <th><?= __('Executed') ?></th> <td><?= $lastExecutedJob->getExecutedAt() ?></td> </tr> <tr> <th><?= __('Status') ?></th> <td><?= $lastExecutedJob->getStatus() ?></td> </tr> <?php else: ?> <tr> <th><?= __('Last job') ?></th> <td><? __('none') ?></td> </tr> <?php endif ?> </table> </section> <?php if (!$block->isCronRunning()): ?> <section style="margin-bottom: 2rem;"> <div class="admin__page-section-item-title"><span class="title"><?= __('Cron setup') ?></span></div> <div class="dashboard-item-content"> <?= __( 'Cron for Magento is not running. To setup a cron job, follow the link %1', 'http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html' ); ?> </div> </section> <?php endif ?> <section style="margin-bottom: 2rem;"> <div class="admin__page-section-item-title"><span class="title"><?= __('Cron Jobs') ?></span></div> <div class="dashboard-item-content"><?= $block->getChildHtml('cronJobs') ?></div> </section>