en En
es Es

Cron jobs

This is the documentation for the deprecated product VMmanager 5. It is no longer updated and may be irrelevant. Documentation for the current version of VMmanager can be found in the VMmanager 6 section.

VMmanager Cloud runs many periodic operations using different cron jobs. Cron is a daemon that runs a job that is to be executed at a specified time.

The following cron jobs are created when you install the control panel:

  • */5 * * * * /usr/local/mgr5/sbin/cron-core sbin/mgrctl -m core sysinfostat - collects statistics on server resources consumption for the Dashboard page.
  • 0 3 * * * /usr/local/mgr5/sbin/cron-core sbin/mgrctl -m core deletearchivelogs - deletes old logs from the var/logs/ directory (logs of other directories won't be deleted).
  • 14 3 * * * /usr/local/mgr5/sbin/cron-core sbin/usagestat - collects statistics on the most popular panel's functions.
  • 1 5 * * * /usr/local/mgr5/sbin/mgrctl -m vmmgr osmgr.fetch - downloads OS templates in a storage.
  • 1 5 * * * /usr/local/mgr5/sbin/mgrctl -m vmmgr osmgr.updateall - updates OS templates.
  • 5 3 * * * /usr/local/mgr5/sbin/cron-vmmgr sbin/pkgupgrade.sh - starts update of packages on the server.
  • If a package is specified (pkgupgrade.sh coremanager), packages only of the control panel will be update, otherwise, it will updates all the packages of the operating system.
  • * * * * * /usr/local/mgr5/sbin/cron-vmmgr sbin/mgrctl -m vmmgr periodic - starts periodic tasks in the control panel, such as check of connections between nodes, etc.
  • /5 * * * * /usr/local/mgr5/sbin/mgrctl -m vmmgr problems.autosolve - starts automatic troubleshooting in the Notifications module.
  • 55 3 * * * /usr/local/mgr5/sbin/cron-vmmgr sbin/mgrctl -m vmmgr recipemgr.update - updates a list of recipes (Learn more in Recipes)
  • */5 * * * * /usr/local/mgr5/sbin/cron-vmmini sbin/mgrctl -m vmmini problems.autosolve - automatically resolve issues in the "Notifications" module.
  • */5 * * * * /usr/local/mgr5/sbin/cron-vmmgr sbin/poolcache --cmd update - updates information about storages.
  • */5 * * * * /usr/local/mgr5/sbin/mgrctl -m vmmini pool.refresh - updates storage information.
  • */5 * * * * /usr/local/mgr5/sbin/mgrctl -m vmmini collectstat - collects statistics.
  • 1 * * * * /usr/local/mgr5/sbin/mgrctl -m vmmini foldstat - calculates statistics.
  • */5 * * * * /usr/local/mgr5/sbin/mgrctl -m vmmini collectstat.flushcounters - resets statistics.
  • */5 * * * * /usr/local/mgr5/sbin/cron-vmmgr sbin/mgrctl -m vmmgr emailnotify.send - checks email notifications, and sends them if any.