Class MaintenanceBatchPlugin
WIP - this task runs in a loop, waiting 2 seconds between each loop. This test task does nothing and ends after 10 spins.
Implements
Inherited Members
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("MaintenanceBatchPlugin", Description = "Batch system maintenance", StartInterval = 3600, MinimumSleepTime = 1800, IsMultiPass = true)]
public class MaintenanceBatchPlugin : BatchTaskBase, IBatchTask
Constructors
MaintenanceBatchPlugin()
WIP - this task runs in a loop, waiting 2 seconds between each loop. This test task does nothing and ends after 10 spins.
Declaration
public MaintenanceBatchPlugin()
Fields
PluginName
WIP - this task runs in a loop, waiting 2 seconds between each loop. This test task does nothing and ends after 10 spins.
Declaration
public const string PluginName = "MaintenanceBatchPlugin"
Field Value
Type | Description |
---|---|
string |
Methods
Run(string, string)
Does nothing - test task. Ends after 10 invocations.
Declaration
protected override bool Run(string name, string context)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
string | context |
Returns
Type | Description |
---|---|
bool | True to indicate to success at doing nothing. |