AutomationFlowsGeneral › Scheduled SRT Cleanup via SSH

Scheduled SRT Cleanup via SSH

Original n8n title: Srt Clean

srt clean. Uses ssh. Scheduled trigger; 2 nodes.

Cron / scheduled trigger★☆☆☆☆ complexity2 nodesSsh
General Trigger: Cron / scheduled Nodes: 2 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "srt clean",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 2
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ],
      "id": "27d9eed1-6c1f-4c93-9df9-09732ae5f18b",
      "name": "Schedule Trigger"
    },
    {
      "parameters": {
        "command": "=./cleanall.sh\n",
        "cwd": "/mnt/data/saberprojects/tools/srt_cleaner/srt_cleaner"
      },
      "type": "n8n-nodes-base.ssh",
      "typeVersion": 1,
      "position": [
        220,
        0
      ],
      "id": "26e5d8a9-ce70-4d98-afac-a467b9cf730c",
      "name": "SSH",
      "credentials": {
        "sshPassword": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "SSH",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0451c330-7d22-47a4-b040-9e0340dbfb19",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "QGUsOcxkgPAubDZx",
  "tags": [
    {
      "createdAt": "2025-06-03T15:01:33.745Z",
      "updatedAt": "2025-06-03T15:01:33.745Z",
      "id": "pCA0nbWXNHSwikBk",
      "name": "persian"
    }
  ]
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

srt clean. Uses ssh. Scheduled trigger; 2 nodes.

Source: https://github.com/saber13812002/Automated-Multi-Step-Content-Processing-and-SEO-Optimization-System/blob/ee277aa227976b1d0f5ea19dbe450824104bed1b/n8n/srt_clean.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

generate_site.go. Uses ssh. Scheduled trigger; 2 nodes.

Ssh
General

suball. Uses ssh. Scheduled trigger; 2 nodes.

Ssh
General

srt. Uses ssh. Scheduled trigger; 2 nodes.

Ssh
General

scan.go copy. Uses ssh. Scheduled trigger; 2 nodes.

Ssh
General

This n8n workflow template is designed to help system administrators and DevOps professionals monitor key resource usage metrics — CPU, RAM, and Disk — on a VPS (Virtual Private Server). The workflow

Email Send, Ssh