Service Manager

Service Manager

Service Manager

Control and monitor all background processes running on the Air4.media platform. Start, stop, schedule, and watch services in real time from a single screen.

Key Features

  • Service List: View all services with live status (Running, Stopped, Error), resource usage, and uptime at a glance.
  • Start / Stop / Restart: Control any service with one click. Buttons appear contextually — Stop and Restart only show for running services, Start only for stopped ones.
  • Batch Actions: Select multiple services and start, stop, restart, or delete them all at once.
  • Real-Time Monitoring: Open the Monitor panel for any service to see live CPU usage, memory consumption, I/O activity, and a live log stream with auto-scroll.
  • Script Editor: Each service can have an associated script. Write or load an existing script directly in the built-in code editor.
  • Cron Scheduling: Set up automatic schedules for any service using the Schedule tab. View and manage all scheduled services from the Scheduled Services button.
  • Auto-Start on Boot: Mark a service to start automatically when the server restarts.
  • Auto-Stop Timer: Set a time limit (in minutes) after which a service will stop itself automatically. Set to 0 to run indefinitely.
  • Log Files: Browse, view, clear, or delete log files for all services from the Log Files panel.
  • Crash Detection: The system automatically detects crashed services and can restart them, with an alert shown in the interface.

How to Use

Create a Service

  1. Click New Service in the top-right area.
  2. Fill in the service name and description.
  3. Optionally enable Auto-start on system boot and set an Auto-stop timer.
  4. Switch to the Script tab to attach or write a script for the service.
  5. Click Save Service.

Start, Stop, or Restart a Service

  1. Find the service in the list.
  2. Click Start, Stop, or Restart in the service row.

Monitor a Service

  1. Click Monitor on any service row.
  2. A panel opens showing live status, CPU, memory, I/O activity, and recent log output.

Schedule a Service

  1. Open the service (click Edit or use the Schedule button).
  2. Go to the Schedule tab and click Configure Schedule.
  3. Set the cron timing and save.

View All Schedules

  • Click Scheduled Services in the toolbar to see all configured cron jobs across all services.

System Tools

The System Tools menu provides platform-level checks:

  • Check WebSocket Status — Verify the real-time connection service is running.
  • Restart WebSocket Service — Restart the live-update connection if needed.
  • Verify Crontab Entries — Confirm all scheduled services are correctly registered.
  • Verify Boot Services — Check which services are configured to start on boot.
  • Test Server Permissions — Run a permissions check to catch configuration issues.

Tips

  • Use the Status and Auto Start filters at the top of the list to quickly find services by their current state.
  • Search by name or description to locate a specific service quickly.
  • The monitoring panel updates in real time — leave it open to watch a service during a critical operation.
  • Always save a service before configuring its schedule; the Schedule tab requires a saved service ID.