Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Cycle Instruction is an option that users apply who want to watch directories during certain business hours only.

The instruction allows to specify weekdayspecifying weekdays, month days etc. and the period during the day for which the job will be repeatedly executed.

Clicking the Cycle Instruction in the Configuration view displays the cycle in the right panel with from the property editor.


Clicking the period brings up the details of the cycle:

...

  • PowerShell is available for Windows servers by default.
    • Consider the shebang in the first line of the job that indicates the PowerShell version in use:
      • the string @@findstr/v "^@@f.*&" "%~f0"|powershell.exe -&goto:eof indicates use of powershell.exe from version 5.1.
      • the string @@findstr/v "^@@f.*&" "%~f0"|pwsh.exe -&goto:eof indicates use of pwsh.exe from version 6 or 7.
  • PowerShell can be installed for Unix environments such as Linux and MacOS.
    • Consider to modify modifying the shebang in the first line of the job like this:
      • the string #!/usr/bin/env pwsh can be used assuming that pwsh is the binary of the PowerShell interpreter.

...

In the Workflows view users can add an order to the Directory Watching workflow:

  • The workflow's action menu offers the "Add Order" operation.
  • Alternatively the icon can be used to add an order.

...

When the order is added it will be displayed in the Workflows view

  • from a green bullet indicting in the same row as the job that is executed.
  • from the History panel the Order ID is visible that can be clicked to open the order's log view window.

...