cronSection.tpl 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {**********************************************************************
  2. * ProxmoxAddon product developed. (2017-10-06)
  3. * *
  4. *
  5. * CREATED BY MODULESGARDEN -> http://modulesgarden.com
  6. * CONTACT -> contact@modulesgarden.com
  7. *
  8. *
  9. * This software is furnished under a license and may be used and copied
  10. * only in accordance with the terms of such license and with the
  11. * inclusion of the above copyright notice. This software or any other
  12. * copies thereof may not be provided or otherwise made available to any
  13. * other person. No title to and ownership of the software is hereby
  14. * transferred.
  15. *
  16. *
  17. **********************************************************************}
  18. {**
  19. * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
  20. *}
  21. <div class="lu-widget">
  22. {if ($rawObject->getRawTitle() || $rawObject->getTitle()) && $rawObject->isViewHeader()}
  23. <div class="lu-widget__header">
  24. <div class="lu-widget__top top">
  25. <div class="lu-top__title">
  26. {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
  27. {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
  28. </div>
  29. </div>
  30. </div>
  31. {/if}
  32. {if $rawObject->haveInternalAlertMessage()}
  33. <div class="lu-alert {if $rawObject->getInternalAlertSize() !== ''}lu-alert--{$rawObject->getInternalAlertSize()}{/if} lu-alert--{$rawObject->getInternalAlertMessageType()} lu-alert--faded modal-alert-top">
  34. <div class="lu-alert__body">
  35. {if $rawObject->isInternalAlertMessageRaw()|unescape:'html'}{$rawObject->getInternalAlertMessage()}{else}{$MGLANG->T($rawObject->getInternalAlertMessage())|unescape:'html'}{/if}
  36. </div>
  37. </div>
  38. {/if}
  39. <div class="lu-widget__body">
  40. <div class="lu-widget__content">
  41. <p>{$MGLANG->T('The cron job for Proxmox VPS & Proxmox Cloud VPS (each 5 minutes suggested):')}
  42. <pre>php -q {$customTplVars.crons.vps}</pre>
  43. </p>
  44. {if $customTplVars.proxmoxCloudVps}
  45. <p>{$MGLANG->T('The cron job for Proxmox Cloud VPS (each hour suggested):')}
  46. <pre>php -q {$customTplVars.crons.cloud}</pre>
  47. </p>
  48. {/if}
  49. <p>{$MGLANG->T('The cron job for users synchronization (run only once):')}
  50. <pre>php -q {$customTplVars.crons.users}</pre>
  51. </p>
  52. <p>{$MGLANG->T('The cron job for VM recovery synchronization:')}
  53. <pre>php -q {$customTplVars.crons.recoveryList}</pre>
  54. </p>
  55. <p>{$MGLANG->T('The cron job for VMs migration synchronization:')}
  56. <pre>php -q {$customTplVars.crons.migrateSync}</pre>
  57. </p>
  58. <p>{$MGLANG->T('Cron job tasks synchronization:')}
  59. <pre>php -q {$customTplVars.crons.task}</pre>
  60. </p>
  61. <p>{$MGLANG->T('Cron job update server usage (each 5 minutes suggested):')}
  62. <pre>php -q {$customTplVars.crons.usege}</pre>
  63. {if $customTplVars.proxmoxVps}
  64. <p>{$MGLANG->T('Cron job remove backups (each 24 hours suggested):')}
  65. <pre>php -q {$customTplVars.crons.backup}</pre>
  66. </p>
  67. <p>{$MGLANG->T('Cron job snapshot jobs (optional, each 5 minutes suggested):')}
  68. <pre>php -q {$customTplVars.crons.snapshots}</pre>
  69. </p>
  70. {/if}
  71. </div>
  72. </div>
  73. </div>