webCOMAND

Scheduled Tasks

webCOMAND has a number of built-in processes that run periodically to maintain the repository and underlying database, which are defined as Scheduled Tasks.  These include:

  • Cleanup Activity Logs - Prune the records about various system activities stored in the repository according to configured retention policies, including Account, App, Content, Login, Web Service and webCOMAND activity.
  • Cleanup Old Tasks - Prune the records of past System Tasks stored in the repository according to their retention policies.
  • Cleanup Session Profiles - Prune old session data stored in the file system according to Login Policy Session Model (Inactivity Seconds) and configuration files (system/sessions/*.php).
  • Cleanup Repository - Remove old content versions that now fall outside the retention policy defined in Content Settings.  Also remove defunct content history that is no longer locked by a time-based lock, such as the time-based locks in place during a publish.
  • Diagnose Repository - Check the repository, fix and report on any discovered corruptions.  It will automatically repeat the process until there are no more issues, or if it completes three iterations and still has issues.
  • Optimize Repository - Optimize the repository by removing unused past revisions and sessions, updating indexes and defragmenting underlying databases (with OPTIMIZE).
  • Backup Repository - Backup the repository to a file that can be restored with the CLI restore or from the Repositories App.
  • Renew Certificate - Renew the managed SSL certificate if it has reached the configured expiration threshold.  For more information, see SSL CLI.
  • Web Socket Server - A daemon that handles webCOMAND web socket connection requests.  For more information, see Web Socket Configuration.

Various aspects of how webCOMAND runs Scheduled Tasks can be configured from the System Task Configuration.