Jobs

Jobs are scheduled actions that DrawerBackup services will perform, every job has some properties:

Name: The name of the job, just a shor description to easy identify the job

Kind: The kind of the job define where that action will be executed. The kind can be: Server, Client or Storage

The job repeats: It indicates whether the job will run only time or several times.

Schedule: The pattern that indicates when the action is executed.

Configuraton or Job Settings

Each Job has its individual settings, see the documentation of the Job to see the documentation of individual settings.

Locking the Job to a Group or Client

For Job that will be performed by the Client Service, these can be locked to run on a specific Client or a specific group of clients.

Job Class Name

The whole logic of the Job is stored in a .NET class that implements the AbstractJob abstract class. The JobClassName property defines the path to this class, it follows the pattern:

[TYPE FULLNAME], [[ASSEMBLY.|SCRIPT.|]ASSEBMLY/SCRIPT NAME]

Backup Job Classname:

Can be defined by:

DrawerBackup.Client.Jobs.BackupJob, DrawerBackup.Client

Or:

DrawerBackup.Client.Jobs.BackupJob, ASSEMBLY.DrawerBackup.Client

Classname referencing a script:

If the job is a script, it can be referenced by:

DrawerBackup.Client.Jobs.BackupJob, SCRIPT.DrawerBackup.Client

Note the word SCRIPT., This makes the Job Loader understands that the Job comes from a SCRIPT.