Just In v3.5 · v.3.5 legacy documentation

Tasks (Just In Engine Linux v1.5)

Tasks are Post-Record-Scripts which can execute custom UNIX shell commands at the start and/or end of the Recording.

Tasks are Post-Record-Scripts which can execute custom UNIX shell commands at the start and/or end of the Recording.

Overview

Tasks (Just In Engine Linux v1.5) screenshot 1

  1. Tasks Presets List: lists all available Tasks Presets for the currently selected Engine. Use the plus and minus buttons at the bottom to add and remove Tasks Presets.
  2. Script execute: defines when a Script is being executed – either at the start or the end of a Recording. You can also define one Script for the start and another one for the end of a Recording.
  3. Variables: allows you to choose from a set of predefined Variables which can be added to the script by pressing the Insert button.
  4. Insert button: adds the Variable to the Script which you need to select in the Variables drop down menu.
  5. Script Editor: allows you to edit the Script.

Adding a New Task

  1. In the Engine List select the Engine.
    Tasks (Just In Engine Linux v1.5) screenshot 2

  2. Click on the Tasks tab.
    Tasks (Just In Engine Linux v1.5) screenshot 3

  3. Press the plus button below the Tasks Preset List.
    Tasks (Just In Engine Linux v1.5) screenshot 4

  4. A new entry appears in the list. Double click it and enter the name for your new Tasks Preset.
  5. Press the return key to accept the name.
  6. Configure the Tasks Preset accordingly to your needs (as described below).

Removing a Task

  1. In the Engine List select the Engine.
    Tasks (Just In Engine Linux v1.5) screenshot 5

  2. Click on the Tasks tab.
    Tasks (Just In Engine Linux v1.5) screenshot 6

  3. Select the Tasks Preset in the Tasks Preset List.
    Tasks (Just In Engine Linux v1.5) screenshot 7

  4. Press the minus button below the Tasks Preset List. This cannot be undone.
    Tasks (Just In Engine Linux v1.5) screenshot 8

Importing a Naming Preset

You can import Tasks Presets which have been created in Just In Engine Mac.

  1. In the Engine List select the Engine.
    Tasks (Just In Engine Linux v1.5) screenshot 9

  2. Click on the Tasks tab.
    Tasks (Just In Engine Linux v1.5) screenshot 10

  3. Press the Import button below the Tasks Preset List.
    Tasks (Just In Engine Linux v1.5) screenshot 11

  4. Select the Tasks Preset you want to import.

Configuring a Task

  1. In the Engine List select the Engine.
    Tasks (Just In Engine Linux v1.5) screenshot 12

  2. Click on the Tasks tab.
    Tasks (Just In Engine Linux v1.5) screenshot 13

  3. Select the Tasks Preset in the Tasks Preset List.
    Tasks (Just In Engine Linux v1.5) screenshot 14

  4. Select a Script execution type.
    Tasks (Just In Engine Linux v1.5) screenshot 15

  5. Edit the Script accordingly to your needs in the Script Editor.
    Tasks (Just In Engine Linux v1.5) screenshot 16

    Make sure you are using straight quotes when editing the Script. The Script has to be UNIX shell script conform.


  6. While editing the Script add one or multiple Variables to the Script.
    Tasks (Just In Engine Linux v1.5) screenshot 17

  7. Changes are saved automatically.

Example Task

This exemplary Script moves the currently recorded file to another folder at the end of the Recording.

Tasks (Just In Engine Linux v1.5) screenshot 18

Debugging Scripts

If your Scripts should create any error, echo or info output it will be logged in the Channel Logs. They are located at /var/log/justconnect on the Just In Engine Linux system.