CrushMFT Documentation

CrushTask#

CrushTask is the plugin that runs tasks: every job of the server is carried out by it. Most people never meet it under this name. They use the Jobs app, and events that start a job.

It is a part of the server itself, not a file in the plugins folder.

Where it shows#

Place What is there
the Jobs app the jobs: designed, scheduled, run and watched there. This is the place to work.
an event of a user CrushTask (User Defined): a small job that belongs to that one event and is designed in the event
Preferences › Plugins › CrushTask, where a server has configurations of it a job kept as a plugin configuration, the way earlier versions did it before there was a Jobs app

A CrushTask configuration in Preferences#

The screen is the job designer, with the same canvas and the same tasks as in the Designer of the Jobs app, and a line of switches above it:

Control Is
Enabled the configuration can be run
Debug more is written to the log
Save state between steps the run notes where it is after each task, so that it can be picked up after a stop
Logging enabled the run keeps a log of its own
Save results of job at end the finished run is kept in the list of runs
Copy to New Job "Enter job name :". Makes a job of the Jobs app out of this configuration: "New job added". A name that is taken is refused: "Job name is already in use, please use another name".

An event runs such a configuration by its name: action Run Plugin, plugin CrushTask, and the configuration.

Moving to the Jobs app#

A job in the Jobs app can do everything a CrushTask configuration can, and has what the configuration lacks: schedules, a change log, access by role, its own list of runs, engines on other machines.

  1. Open the configuration and press Copy to New Job.
  2. In the event that used it, choose the new job from the group Job of the list.
  3. Run it once and look at the run.
  4. Remove the configuration.

The tasks#

Every kind of task is described in the Jobs pages, from Copy to Wait: see Jobs.

A task of your own#

A task type that the server does not have can be added as a class of your own, and run by the Custom task or the Java task.