Skip to main content

Global - Task Repository

The Task repository is a shared Task library for the VisualCron community. The primary focus is on Tasks of type PowerShell and .NET Execute Tasks. The idea is that anyone can create a code snippet using any of these Task types and then share that code snipped (in Task) to the VisualCron community. After that, anyone in the community (depending on share settings) can access this Task and download locally.

The Task repository can be found in Server tab->Global objects->Task repository.

Variables

What makes Task repository even more useful is that you can execute these Task repository Tasks through Variables. In the Variables browser you can see all Task repository Tasks and send your own arguments. The Variable string itself can be used in any field within VisualCron.

Task repository - main window

The local Task repository window shows the stored Tasks in a grid with the following columns:

  • Name — the name of the repository Task
  • Description — a description of what the Task does
  • Lang — an icon indicating the language (.NET or PowerShell)
  • Version — the current version of the repository Task

Right‑clicking a row opens a context menu with the Add, Edit, Delete, Clone, Upload, and Import commands. The toolbar above the grid provides the same commands plus Refresh, Search, Clear filter, and Online repository:

Add

Opens the Add popup menu where you can select to add a Powershell or .NET Task for the repository.

Edit

Edits the Task in the selected row.

Clone

Clones the Task in the selected row.

Delete

Deletes the Task in the selected row.

Import

This creates a local Job with the selected Task. It is possible to click Import later to update an already existing Task with a another (maybe newer) local Task repository Task.

Refresh

Refreshes the list of local Task repository objects manually.

Search

Search field lets you filter the local Task repository on multiple columns.

Clear filter

Clears the existing search filter.

Online repository

Opens the community powered Online Task repoitory.

Upload

Uploads the selected local Task repository object to the Online repository. This can be done many times to update an existing object. Each time a new version is being created online and a diff can be made.

Online Task repository

The Online Task repository window has the same Name, Description, Lang, and Version columns as the local view, plus a details panel on the right side that shows additional information for the row currently selected in the grid.

The toolbar above the grid provides the following buttons:

View

Opens the Task repository Task for viewing

Search / Clear filter

Filter the list of online Task repository objects by text. The search matches against the Name and Description columns.

Delete

Deletes the selected Task repository object from the online repository. You can only delete your own objects.

Refresh

Reloads the online list of Task repository objects.

Download

Downloads the selected Task repository object to the local Task repository.

Details panel

A collapsible panel on the right side of the window shows details about the selected online Task repository object. It contains the following controls:

  • Version — a dropdown of all available versions of the selected Task
  • Installed version — the version number currently present in the local repository (if any)
  • Name — the name of the Task
  • Created — the date when the version was first uploaded
  • Modified — the date when the version was last modified
  • Author — the user that uploaded the version
  • Description — a longer description of the Task
  • Compare installed and selected version — opens a comparison view between the locally installed version and the version selected in the Version dropdown above
  • Delete selected version — removes the specific version selected in the Version dropdown (only available for your own uploads)