You can run any bash command via a custom Mitto job.


Create a blank template:

  • Create Job
  • Advanced
  • Blank

The job definition JSON should look like this:

    "cmd": "sleep 15",
    "shell": true

Any valid bash can be written in the “cmd” value (replacing “sleep 15”). You could run a single command, series of commands, scripts, etc. Any scripts would need to exist on the Mitto file system and you could scp them there with the ssh key.

Once you save the job, you also need to rename the title and name of the job from “blank_job”.

The type should be “cmd”.