VMmanager OVZ 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 vemgr osmgr.fetch — downloads OS templates in a storage;
  • 1 5 * * * /usr/local/mgr5/sbin/mgrctl -m vemgr osmgr.updateall —  updates OS templates;
  • 5 3 * * * /usr/local/mgr5/sbin/cron-vemgr 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-vemgr sbin/mgrctl -m vemgr periodic — starts periodic tasks in the control panel, such as check of connections between nodes, etc.
  • /5 * * * * /usr/local/mgr5/sbin/mgrctl -m vemgr problems.autosolve — starts automatic troubleshooting in the Notifications module;
  • 55 3 * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr recipemgr.update — updates a list of recipes;
  • */5 * * * * etc/scripts/stat-collect.sh /usr/local/mgr5 —collects statistics on resource usage by containers; 
  • */4 * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vmhostnode.check.reboot — checks that restart is required; 
  • * * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.backup.check — checks the backup copy status; 
  • * * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.restore.check — checks recovery from the backup copy; 
  • * * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.migrate.check — checks migration between cluster nodes;  
  • * * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.convert.check — checks disk conversion into different formats; 
  • */15 * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.state.check — synchronization of container status on the cluster nodes with the status in the control panel database;
  • */5 * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.cpulimit.calculate — calculates CPU limit for containers; 
  • 0 0 * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.sync — synchronization of container parameters (RAM, processes, etc.) in the database with actual values from the cluster node;
  • */3 * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.reshape operation=execute — apply or reconfigure traffic shaping for every cluster node; 
  • 0 0 * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr collectversions — collects information about vemini versions on cluster nodes;
  • 5 * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr stat.normalize — normalization of container statistics;  
  • * * * * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.compact.check — checks that ploop-containers must be compressed;
  • 10 12 12 * * /usr/local/mgr5/sbin/cron-vemgr sbin/mgrctl -m vemgr vm.compact.all — compression of ploop-containers.