Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

With v1.0 of just:in linux, Tasks were introduced into the just:in world. Tasks are advanced post-record-scripts, which are well known from just:in mac. With such tasks, custom commands can be executed either on start or end of the recording, or even on both. Below further information can be found about this functionality.

Overview

Tasks can be executed on start or end of a recording. You can also define one task for start and another for end of a recording. Such tasks are simple bash scripts, which are executed from just:connect on the just:in linux appliance.

Please be aware that with Tasks the performance can be limited, depending on the Task itself. If you are using Tasks, please always do some tests before going into production or critical environments. If you are not sure if everything is working as expected, please contact your ToolsOnAir reseller or use our support system.

On the left side all available tasks are displayed and on the right side you can see the script code according to the selected task.

Create new Task

You can create a new Task by just using the Add-Button. It is also possible to import post-record-scripts from just:in mac. Then just add your script code into the text field and it will be saved automatically.

Please beware that you can see the output of your script (echo, error code, etc) within the channel logs (/var/log/justconnect).

To access the currently recorded file/chunk just use the "Clip's full path" ($1 → just:in mac) variable. You can also use other variables within your script. Just use the variables list and the Insert-Button for that.

You can also choose, if the Task should be executed at the end or at start of the recording.

Script execute:

  • On stop recording
  • On start recording

It is possible to create multiple Tasks at the same time, but please beware that this can influence the behaviour of the system. Appropriate testing required.

Task - Example

This Task moves the currently recorded file at the end of the recording to another folder.

Please make sure that you are using "straight quotes", when using them in Tasks.

  • No labels