{% extends "base.html" %} {% block content %}
Automatically collect MySQL diagnostics on a schedule
| Name | Hosts | Interval | Status | Last Run | Next Run | Runs | Actions |
|---|---|---|---|---|---|---|---|
|
{{ item.cron.name }}
{{ item.cron.id[:8] }}
|
{% for label in item.host_labels[:3] %}
{{ label }}
{% endfor %}
{% if item.host_count > 3 %}
+{{ item.host_count - 3 }} more
{% endif %}
|
{% if item.cron.interval_minutes < 60 %} {{ item.cron.interval_minutes }}m {% elif item.cron.interval_minutes == 60 %} 1h {% elif item.cron.interval_minutes % 60 == 0 %} {{ item.cron.interval_minutes // 60 }}h {% else %} {{ item.cron.interval_minutes // 60 }}h {{ item.cron.interval_minutes % 60 }}m {% endif %} | {% if item.cron.enabled %} Active {% else %} Paused {% endif %} |
{% if item.cron.last_run_at %}
{{ item.cron.last_run_at.strftime('%m/%d %H:%M') }}
{% if item.cron.last_job_id %}
View job →
{% endif %}
{% else %}
Never
{% endif %}
|
{% if item.cron.enabled and item.cron.next_run_at %}
{{ item.cron.next_run_at.strftime('%m/%d %H:%M') }}
{% else %}
—
{% endif %}
|
{{ item.cron.run_count or 0 }} |
|
Create a scheduled job to automatically collect MySQL diagnostics at regular intervals.
Choose hosts, set interval (e.g., every 30 min), and optional settings.
MASC runs in the background and collects data at scheduled times.
View jobs in history, compare snapshots, detect regressions over time.