How To: Launch a Script with an Event

How To: Launch a Script with an Event


Question

Is it possible to have Titan SFTP Server launch a custom script from an event?


Reasoning

I have several actions needed to be performed which Titan does not have a native action for, therefore, I have written a script which will perform all of the actions and I need Titan SFTP Server automation to launch the script.


Answer

In Titan SFTP Server, you can create an event with a specific trigger and then add an action to launch a custom script.


Steps

  1. Navigate to Events and click on the + icon.
  2. Select an event trigger that best fits your needs. In this example, I have chosen a scheduled event.
  3. Select Actions and click on Add Actions.
  4. Select the action “Spawn Process to run job” and browse to said script and fill in any needed parameters.

Interfaz de usuario gráfica, AplicaciónDescripción generada automáticamente

  1. Click on Okay.
  2. Click on Next.

Interfaz de usuario gráfica, Aplicación, TeamsDescripción generada automáticamente

  1. Provide a name for the event, ensure it is enabled and click on Next.

Interfaz de usuario gráfica, Texto, Aplicación, Correo electrónicoDescripción generada automáticamente

  1. Click on Create.

    • Related Articles

    • How To: Run a Script with a Scheduled Event Handler

      How To: Run a Script with a Scheduled Event Handler Question Can I create a scheduled event to call and run a script? Reasoning I currently have Titan MFT server and would like to take advantage of the event handler capabilities to automate jobs. ...
    • How To Event-File upload

      How To: EVENT – File upload Question How can I create an event that triggers when a file is uploaded? Reason To automate actions such as notifications, file transfers, or processing tasks whenever a user uploads a file. Answer You can create a file ...
    • How To: Create a File Uploaded Event

      Question Can I create an automation that triggers once a file is uploaded into Titan SFTP Server? Reasoning As an admin, I would like to be able to create automations that perhaps can send email notifications or process the incoming files once ...
    • HowTo MoveFilesWithAnEventInTitanNexGen

      How To: Move Files with an Event in Titan NexGen Question How to move files using an event in Titan NexGen? Answer Please follow the step-by-step instructions below. Steps to Move Files using Event Upload Successful: In your Admin Console, go to ...
    • Custom Branding using PowerShell Script

      Titan Server: Custom Branding and Logo using PowerShell Question How do I custom brand the interface for Titan Server using a PowerShell script? Reasoning I want the interface to match my organization’s look and feel. Answer Yes, the server interface ...