Running Cerberus from the Command Line

Article Id
kb319
Published
08 Oct 2025 at 12:39
Last Updated
08 Oct 2025 at 12:50
Reading Time
1 minute, 11 seconds

Introduction

This article provides a guide to using Cerberus from the command line. You may run Cerberus using the options defined in the configuration file or override with command arguments.

Running from the Console

 
Do not run Cerberus from the console and as a Windows service concurrently. Doing so runs the risk of data collisions, corruption and general bad karma.

Cerberus may also be run from the command line as a console application. This has a number of advantages as you may override the configuration through use of command arguments. This allows Cerberus to be used as a more flexible and immediate tool.

For example, the command ./Cerberus /times now starts Cerberus and then immediately (within the next minute or so) start a full database backup.

Accessing Cerberus in console

Cerberus may be equally used as a Windows Service or as a console application.

  1. Open an elevated command prompt (search for 'cmd', right-click on 'Command Prompt', Select 'Run as Administrator'
  2. Move to the directory containing Cerberus
  3. Execute ./Cerberus.exe with a command arguments you wish to use. If you don't use include any arguments, Cerberus will run using the configuration option defined in AppSettings.Config

Console Help & Behaviour

To a view full list of available command arguments, use the /? or /help command argument. For example:

./Cerberus.exe /help

Alternatively, see detailed explanation of command line arguments.

     
An exception occurred whilst attempting to render af571435-64bd-11ec-9dee-0050563dfbd5:Support Common Questions, Sidebar.

Error
Object reference not set to an instance of an object.

Source
CalzadaMedia.Common.Core

StackTrace
at CalzadaMedia.Common.Core.Data.ListingResultBase.Load(DataTableInserterResult insertionResult, String messagesTitle) in C:\Calzada Media\Development\CommonLibraries\CalzadaMedia.Common.Core\Data\ListingResultBase.cs:line 190
at CalzadaMedia.CaminoCms.Cms.Content.Menus.MenuProvider.GetMenuEntries(MenuEntryListConfiguration queryConfig) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms\Content\Menus\MenuProvider.cs:line 635
at CalzadaMedia.CaminoCms.Cms.Content.Menus.MenuOutputArchitect.LoadMenus(UniqueStringIdCollection menuIdentities) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms\Content\Menus\MenuOutputArchitect.cs:line 152
at CalzadaMedia.CaminoCms.Cms.Content.Menus.MenuOutputArchitect.LoadMenu(String menuIdentity) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms\Content\Menus\MenuOutputArchitect.cs:line 96
at CalzadaMedia.CaminoCms.Cms.WebApp.Frontend.Content.MenuGenerator.GetMenuData(String menuIdentity, Int32 parentMenuId) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms.WebApp\Frontend\Content\MenuGenerator.cs:line 117
at CalzadaMedia.CaminoCms.Cms.WebApp.Frontend.Content.MenuGenerator.GetMenuData(String menuIdentity) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms.WebApp\Frontend\Content\MenuGenerator.cs:line 103
at CalzadaMedia.CaminoCms.Cms.WebApp.Frontend.Content.MenuGenerator.GenerateHyperlinkCollection(String menuIdentity) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms.WebApp\Frontend\Content\MenuGenerator.cs:line 381
at CalzadaMedia.CaminoCms.Cms.WebApp.Frontend.Content.ContentMenuCardWebComponent.Generate() in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms.WebApp\Frontend\Content\ContentMenuCardWebComponent.cs:line 59
at CalzadaMedia.CaminoCms.Cms.WebPresentation.PresentationWebComponent.GenerateFrontendBlock(BlockWriterContext blockContext) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms.WebPresentation\PresentationWebComponent.Frontend.cs:line 144
at CalzadaMedia.CaminoCms.Cms.WebFoundation.Frontend.FrontendSkeletonWebComponent.WritePageSection_AddBlock(Int32 blockId) in C:\Calzada Media\Development\CaminoCms\CaminoCms.Cms.WebFoundation\Frontend\FrontendSkeletonWebComponent.Rendering.cs:line 430