Runwork
SSH (key-based auth)

Automated server log cleanup via email alerts with SSH - Nginx, Docker, System

Automatically maintain your server's health by clearing out bulky logs whenever disk space runs low. This intelligent workflow listens for high-utilization email alerts, identifies the target server, and executes SSH cleanup commands for Nginx and Docker instantly. Say goodbye to manual maintenance and prevent crashes caused by full disks.

Start Building

What This Recipe Does

Server downtime caused by full disk space is a preventable but frequent disruption for modern businesses. The Auto Disk Cleanup workflow transforms how IT teams manage storage capacity by automating the response to critical disk space alerts. When your monitoring system sends an email notification regarding low disk space, this automation immediately triggers a sequence to identify and purge non-essential log files. By removing the need for manual SSH access and command-line execution, this solution ensures that servers remain operational without human intervention. This proactive approach minimizes the risk of application crashes and data loss while freeing up your technical staff to focus on high-value projects rather than routine maintenance. It provides a reliable bridge between alert detection and resolution, ensuring your infrastructure scales efficiently and remains healthy around the clock. By turning this workflow into a Runwork app, you gain a centralized dashboard to monitor cleanup activities and manage server health effortlessly.

What You'll Get

Complete App

Forms, dashboards, and UI components ready to use

Automated Workflows

Background automations that run on your schedule

API Endpoints

REST APIs for external integrations

Connected Integrations

SSH (key-based auth) configured and ready

How It Works

  1. 1

    Click "Start Building" and connect your accounts

    Runwork will guide you through connecting SSH (key-based auth)

  2. 2

    Describe any customizations you need

    The AI will adapt the recipe to your specific requirements

  3. 3

    Preview, test, and deploy

    Your app is ready to use in minutes, not weeks

Who Uses This

Frequently Asked Questions

Do I need to provide root access to my servers?

The system requires SSH credentials with permissions to delete log files, ensuring the automation can perform its tasks securely and effectively.

Can I specify which directories are cleaned?

Yes, the workflow is fully customizable, allowing you to define exactly which log paths or temporary folders should be targeted for purging.

How do I know if the cleanup was successful?

The automation can be configured to send a confirmation report or update a status dashboard within your Runwork app after each successful purge.

What do I get when I deploy this recipe?

You receive a complete internal application that monitors your alerts and provides a user-friendly interface to manage and audit server maintenance tasks.

Importing from n8n?

This recipe uses nodes like EmailReadImap, Code, Set, Ssh and 1 more. With Runwork, you don't need to learn n8n's workflow syntax. Just describe what you want in plain English.

EmailReadImap Code Set Ssh StickyNote

Based on n8n community workflow. View original

Related Recipes

Microsoft Teams DaySchedule

Automated GLPI ticket deadline alerts via Microsoft Teams

Managing complex IT infrastructure requires constant vigilance, but manual monitoring often leads to alert fatigue and missed critical updates. This automation streamlines IT operations by systematically auditing system health and service availability on a predefined schedule. Instead of requiring staff to log into multiple dashboards, the system fetches real-time data, processes it, and delivers a consolidated, actionable summary directly to Microsoft Teams. The workflow connects to your external APIs, analyzes status data, and applies intelligent filtering to separate routine noise from urgent issues. By aggregating individual alerts into a single cohesive report, it ensures that stakeholders stay informed without being overwhelmed by constant pings. This tool transforms raw system data into clear business intelligence, allowing IT managers to proactively address infrastructure concerns before they impact end-users. It eliminates the need for manual status checks and provides a reliable audit trail of system performance. Implementing this automation reduces response times, improves cross-departmental visibility, and frees up your technical staff to focus on high-value projects rather than routine monitoring tasks.

Build this
Microsoft Teams DaySchedule

Automated GLPI ticket deadline alerts via Microsoft Teams

This IT Operations automation streamlines the process of monitoring and reporting on critical system data directly within Microsoft Teams. By scheduling regular checks via HTTP requests, the workflow automatically gathers technical data, processes it into a readable format, and distributes updates to the relevant stakeholders. Instead of manually logging into multiple dashboards or checking various APIs, IT managers can rely on this automated system to aggregate information and flag specific conditions that require attention. The automation ensures that your team stays informed about system status and operational metrics without the noise of constant manual monitoring. By consolidating data batches into organized reports, it reduces information fatigue and allows technical teams to focus on high-priority tasks while maintaining full visibility over their infrastructure. This leads to faster response times, better communication within the IT department, and a more proactive approach to system management.

Build this
Google Drive DaySchedule

Automated n8n credential backups to Google Drive with scheduled execution

Maintaining secure and accessible backups of system credentials is a critical requirement for any modern business operation. The AIAutomationPro Backup Credentials automation provides a reliable way to safeguard your essential access data by automatically capturing and storing encrypted credential files directly in Google Drive. Instead of relying on manual exports or risky local storage, this workflow ensures that your most sensitive connection information is preserved in a secure, centralized cloud environment. By automating the backup process on a recurring schedule, your team eliminates the risk of human error and ensures that recovery data is always up to date. This process is essential for disaster recovery planning, allowing your business to restore operations quickly in the event of a system failure or migration. The automation converts complex system data into organized files, providing peace of mind that your infrastructure remains resilient and your operational continuity is never compromised. It bridges the gap between technical system administration and business security standards, making robust data protection a hands-off process.

Build this
Google Drive DaySchedule

Automated n8n credential backups to Google Drive with scheduled execution

Maintaining the security and continuity of your automation infrastructure is critical for any modern business. This automation provides a reliable safety net for your n8n environment by automatically backing up your essential credentials and configuration data directly to Google Drive. Instead of risking data loss due to server failures or accidental deletions, this workflow systematically captures your environment settings, aggregates them into a secure file format, and archives them in a centralized cloud location. By automating this routine maintenance task, IT teams and business owners can ensure they have a restorable recovery point at all times without manual intervention. This process not only safeguards your operational workflows but also ensures that critical integration keys and access tokens are accounted for in your disaster recovery plan. The result is total peace of mind and significantly reduced downtime in the event of a system migration or emergency recovery scenario.

Build this

Ready to build this?

Start with this recipe and customize it to your needs.

Start Building Now