Overview

Mitto can automate any command line command.

Use the Mitto Command Line plugin to create command line jobs.

Typical use cases for command line jobs include running bash scripts, Python, R, etc.

Create a Command Line Job

Click +Add Job.

Choose "Command".

Fill in the form.

  • Title - Title of the job.
  • Command - Any valid command line command.
  • Use shell? - Whether to use the shell for execution or not.
  • Use 'exec'? - Whether to prefix given command with 'exec'. The command will run as exec under bash so that the bash process will be replaced with the shell_cmd process.
  • Timeout - Command timeout in seconds.
  • Environment Variables - Environment variables of the command.

Environment Variables

Any environment variables needed to run the command can be added as key/value pairs.

The Mitto command line job is run by the mitto user with an empty environment, so some commands will require setting environment variables.

Example Command Line Jobs

See the Mitto Python documentation for more examples of Mitto command line jobs.

Python
Overview Python scripts can be automated in Mitto via command line jobs [/help/mitto/command-line/]. Upload a Python Script to Mitto Any Python scripts to be run by Mitto must exist on Mitto’s file system. Use Mitto’s file manager [/help/mitto/files/] to upload the Python script. Create a Python V…
Automate Bash, R, and Python scripts with Mitto | Zuar
In this blog post, we will cover the Mitto command line job and then walk through examples of automating scripts from various languages: * Bash * R * Python Mitto command line jobs A powerful feature in Mitto is the ability to automate commands and scripts with command line jobs [https://www.zuar.com/help/mitto/command-line/…