cronSection.tpl 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 VE VPS & Proxmox VE 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 VE 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. {/if}
  68. <p>{$MGLANG->T('Cron job snapshot jobs (optional, each 5 minutes suggested):')}
  69. <pre>php -q {$customTplVars.crons.snapshots}</pre>
  70. </p>
  71. <p>{$MGLANG->T('The cron job for VM names synchronization (run only once):')}
  72. <pre>php -q {$customTplVars.crons.vmNames}</pre>
  73. </p>
  74. </div>
  75. </div>
  76. </div>