Dormeto

Docs

schedule

The schedules of both clouds' workloads: dormeto aws schedule through the manager, dormeto gcp schedule through a Google Cloud router.

8 min read

schedule add

Amazon Web Servicesdormeto aws

Adds a nap or awake window to workloads' schedules.

dormeto aws schedule add (<router>/<workload>... | --tag k=v...) --kind nap|awake [--days <days>] [--start HH:MM] [--end HH:MM] [--wake never|header] \
  [--repeat daily|weekly|monthly|cron] [--interval <n>] [--day <n>] [--nth <n>] [--weekday <day>] [--cron <expression>] \
  [--minutes <n>] [--from YYYY-MM-DD] [--until YYYY-MM-DD] [--time-zone <zone>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequired, or --tagThe workloads, one or more.
--tagk=v, repeatable—Every workload with all these Dormeto tags, instead of targets.
--kindnap or awakerequiredWhether the window keeps the workload asleep or awake.
--daysmon to sun, comma-separated or repeated—Days of a weekly window, or of a weekly repeat.
--startHH:MM—When it starts, in the schedule's zone.
--endHH:MM—When it ends: at or before its start, the next day.
--wakenever or header—Whether the wake header wakes a nap.
--repeatdaily, weekly, monthly or cron—A recurrence, in place of weekly days.
--intervala number—Every that many days, weeks or months.
--daya day of the month—The day a monthly repeat occurs.
--ntha number, -1 for the last—The nth --weekday of a monthly repeat.
--weekdaymon to sun—The day of --nth.
--crona cron expression—When a cron repeat starts (Recurrences).
--minutesminutes—How long each occurrence of a cron repeat lasts.
--froma date YYYY-MM-DD—The first date it occurs (Recurrences).
--untila date YYYY-MM-DD—The last date it occurs.
--time-zonean IANA name, such as Europe/Paris—A first schedule's zone, needed when the workload has none.
dormeto aws schedule add prod-eu/web --kind nap --days sat,sun --start 00:00 --end 00:00 --wake header

Table

prod-eu/web: schedule set
  next
    Sun 15 Nov 00:00 CET nap window starts
    Mon 16 Nov 08:00 CET awake window starts
prod-eu/web: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  2. nap sat,sun 00:00–00:00 (next day), wake: header
  except 2026-12-25
  maximum nap 7 days

JSON

{
  "prod-eu/web": {
    "schedule": {
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "kind": "awake",
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "start": "08:00",
          "end": "19:00"
        },
        {
          "kind": "nap",
          "days": [
            "sat",
            "sun"
          ],
          "start": "00:00",
          "end": "00:00",
          "wake": "header"
        }
      ],
      "exceptions": [
        "2026-12-25"
      ],
      "maxNapDays": 7,
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z"
    },
    "next": [
      {
        "at": "2026-11-14T23:00:00.000Z",
        "kind": "nap-start",
        "window": 1
      },
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ],
    "maintenanceDue": null
  }
}

dormeto gcp

Adds a nap or awake window to a workload's schedule.

dormeto gcp schedule add <workload> --project <project> --region <region> --kind nap|awake [--days <days>] [--start HH:MM] [--end HH:MM] [--wake never|header] \
  [--repeat daily|weekly|monthly|cron] [--interval <n>] [--day <n>] [--nth <n>] [--weekday <day>] [--cron <expression>] \
  [--minutes <n>] [--from YYYY-MM-DD] [--until YYYY-MM-DD] [--time-zone <zone>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
--kindnap or awakerequiredWhether the window keeps the workload asleep or awake.
--daysmon to sun, comma-separated or repeated—Days of a weekly window, or of a weekly repeat.
--startHH:MM—When it starts, in the schedule's zone.
--endHH:MM—When it ends: at or before its start, the next day.
--wakenever or header—Whether the wake header wakes a nap.
--repeatdaily, weekly, monthly or cron—A recurrence, in place of weekly days.
--intervala number—Every that many days, weeks or months.
--daya day of the month—The day a monthly repeat occurs.
--ntha number, -1 for the last—The nth --weekday of a monthly repeat.
--weekdaymon to sun—The day of --nth.
--crona cron expression—When a cron repeat starts (Recurrences).
--minutesminutes—How long each occurrence of a cron repeat lasts.
--froma date YYYY-MM-DD—The first date it occurs (Recurrences).
--untila date YYYY-MM-DD—The last date it occurs.
--time-zonean IANA name, such as Europe/Paris—A first schedule's zone, needed when the workload has none.
dormeto gcp schedule add shop --project my-project --region europe-west1 --kind nap --days sat,sun --start 00:00 --end 00:00 --wake header

Table

dmtr-my-project-europe-west1/shop: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
dmtr-my-project-europe-west1/shop: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  2. nap sat,sun 00:00–00:00 (next day), wake: header

JSON

{
  "dmtr-my-project-europe-west1/shop": {
    "schedule": {
      "at": "2026-11-01T10:00:00.000Z",
      "by": "ops@example.com",
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "end": "19:00",
          "kind": "awake",
          "start": "08:00"
        },
        {
          "days": [
            "sat",
            "sun"
          ],
          "end": "00:00",
          "kind": "nap",
          "start": "00:00",
          "wake": "header"
        }
      ]
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ]
  }
}
  • It reads the schedule and writes it whole: a change made meanwhile is lost.
  • The router checks the schedule against its limits, and its refusal is printed.

schedule clear

Amazon Web Servicesdormeto aws

Clears workloads' schedules: they follow their idle rules alone.

dormeto aws schedule clear (<router>/<workload>... | --tag k=v...) [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequired, or --tagThe workloads, one or more.
--tagk=v, repeatable—Every workload with all these Dormeto tags, instead of targets.
dormeto aws schedule clear prod-eu/web

Table

prod-eu/web: schedule cleared

JSON

{
  "prod-eu/web": {
    "cleared": true
  }
}

dormeto gcp

Clears a workload's schedule: it follows its idle window alone.

dormeto gcp schedule clear <workload> --project <project> --region <region> [--dry-run] [--yes]
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
dormeto gcp schedule clear shop --project my-project --region europe-west1

Table

dmtr-my-project-europe-west1/shop: schedule cleared

JSON

{
  "dmtr-my-project-europe-west1/shop": {
    "schedule": null,
    "next": []
  }
}

schedule edit

Amazon Web Servicesdormeto aws

Changes the time zone, joined windows or maximum nap of workloads' schedules.

dormeto aws schedule edit (<router>/<workload>... | --tag k=v...) [--time-zone <zone>] [--join-minutes <minutes>|inherit] [--max-nap-days <days>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequired, or --tagThe workloads, one or more.
--tagk=v, repeatable—Every workload with all these Dormeto tags, instead of targets.
--time-zonean IANA name, such as Europe/Paris—The schedule's zone.
--join-minutesminutes or inherit—Joined windows.
--max-nap-daysdays—Maximum nap.
dormeto aws schedule edit prod-eu/web --max-nap-days 14

Table

prod-eu/web: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
prod-eu/web: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  except 2026-12-25
  maximum nap 14 days

JSON

{
  "prod-eu/web": {
    "schedule": {
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "kind": "awake",
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "start": "08:00",
          "end": "19:00"
        }
      ],
      "exceptions": [
        "2026-12-25"
      ],
      "maxNapDays": 14,
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z"
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ],
    "maintenanceDue": null
  }
}

dormeto gcp

Changes the time zone, joined windows or maximum nap of a workload's schedule.

dormeto gcp schedule edit <workload> --project <project> --region <region> [--time-zone <zone>] [--join-minutes <minutes>|inherit] [--max-nap-days <days>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
--time-zonean IANA name, such as Europe/Paris—The schedule's zone.
--join-minutesminutes or inherit—Joined windows.
--max-nap-daysdays—Maximum nap.
dormeto gcp schedule edit shop --project my-project --region europe-west1 --max-nap-days 14

Table

dmtr-my-project-europe-west1/shop: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
dmtr-my-project-europe-west1/shop: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  maximum nap 14 days

JSON

{
  "dmtr-my-project-europe-west1/shop": {
    "schedule": {
      "at": "2026-11-01T10:00:00.000Z",
      "by": "ops@example.com",
      "maxNapDays": 14,
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "end": "19:00",
          "kind": "awake",
          "start": "08:00"
        }
      ]
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ]
  }
}
  • An empty value removes the field.
  • It reads the schedule and writes it whole: a change made meanwhile is lost.
  • The router checks the schedule against its limits, and its refusal is printed.

schedule except

Amazon Web Servicesdormeto aws

Adds or removes exception dates of a workload's schedule, or of one window.

dormeto aws schedule except <router>/<workload> --date YYYY-MM-DD... [--window <n>] [--remove] [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequiredThe workload.
--datedates YYYY-MM-DD, comma-separated or repeatedrequiredDays no window starts, in the schedule's zone.
--windowa window's numberthe schedule'sOne window's dates instead of the schedule's.
--remove——Takes the dates out.
dormeto aws schedule except prod-eu/web --date 2026-12-24

Table

prod-eu/web: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
prod-eu/web: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  except 2026-12-25, 2026-12-24
  maximum nap 7 days

JSON

{
  "prod-eu/web": {
    "schedule": {
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "kind": "awake",
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "start": "08:00",
          "end": "19:00"
        }
      ],
      "exceptions": [
        "2026-12-25",
        "2026-12-24"
      ],
      "maxNapDays": 7,
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z"
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ],
    "maintenanceDue": null
  }
}

dormeto gcp

Adds or removes exception dates of a workload's schedule, or of one window.

dormeto gcp schedule except <workload> --project <project> --region <region> --date YYYY-MM-DD... [--window <n>] [--remove] [--dry-run] [--yes]
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
--datedates YYYY-MM-DD, comma-separated or repeatedrequiredDays no window starts, in the schedule's zone.
--windowa window's numberthe schedule'sOne window's dates instead of the schedule's.
--remove——Takes the dates out.
dormeto gcp schedule except shop --project my-project --region europe-west1 --date 2026-12-24

Table

dmtr-my-project-europe-west1/shop: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
dmtr-my-project-europe-west1/shop: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  except 2026-12-24

JSON

{
  "dmtr-my-project-europe-west1/shop": {
    "schedule": {
      "at": "2026-11-01T10:00:00.000Z",
      "by": "ops@example.com",
      "exceptions": [
        "2026-12-24"
      ],
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "end": "19:00",
          "kind": "awake",
          "start": "08:00"
        }
      ]
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ]
  }
}
  • Window numbers are those schedule show prints.
  • It reads the schedule and writes it whole: a change made meanwhile is lost.
  • The router checks the schedule against its limits, and its refusal is printed.

schedule list

Amazon Web Servicesdormeto aws

Lists the schedules of both clouds' workloads: zone, windows and next event.

dormeto aws schedule list [--all] [--state <state>]... [--router <router>] [--search <text>] [--tag k=v]... [--cloud aws|gcp]
OptionValuesDefaultEffect
--all——Also the workloads without a schedule.
--stateAWAKE, NAPPING, ASLEEP, WAKING or FAILED, comma-separated or repeatedallWorkloads in these states.
--routera routerallOne router's workloads.
--searcha text—Workloads whose name or ID holds it.
--tagk=v, repeatable—Workloads with all these Dormeto tags.
--cloudaws or gcpbothRows of one cloud.
dormeto aws schedule list

Table

ROUTER                        WORKLOAD  NAME      CLOUD  STATE   ZONE          WINDOWS  NEXT
prod-eu                       web       Web shop  aws    ASLEEP  Europe/Paris  1        Mon 16 Nov 08:00 CET awake window starts
dmtr-my-project-europe-west1  shop      shop      gcp    ASLEEP  Europe/Paris  1        Mon 16 Nov 08:00 CET awake window starts
2 workloads with a schedule

JSON

{
  "workloads": [
    {
      "router": "prod-eu",
      "workloadId": "web",
      "name": "Web shop",
      "cloud": "aws",
      "state": "ASLEEP",
      "schedule": {
        "timeZone": "Europe/Paris",
        "windows": [
          {
            "kind": "awake",
            "days": [
              "mon",
              "tue",
              "wed",
              "thu",
              "fri"
            ],
            "start": "08:00",
            "end": "19:00"
          }
        ],
        "exceptions": [
          "2026-12-25"
        ],
        "maxNapDays": 7,
        "by": "ops@example.com",
        "at": "2026-11-02T14:00:00.000Z"
      },
      "next": [
        {
          "at": "2026-11-16T07:00:00.000Z",
          "kind": "awake-start",
          "window": 0
        }
      ]
    },
    {
      "router": "dmtr-my-project-europe-west1",
      "workloadId": "shop",
      "name": "shop",
      "cloud": "gcp",
      "state": "ASLEEP",
      "schedule": {
        "timeZone": "Europe/Paris",
        "windows": [
          {
            "kind": "awake",
            "days": [
              "mon",
              "tue",
              "wed",
              "thu",
              "fri"
            ],
            "start": "08:00",
            "end": "19:00"
          }
        ],
        "by": "ops@example.com",
        "at": "2026-11-02T14:00:00.000Z"
      },
      "next": [
        {
          "at": "2026-11-16T07:00:00.000Z",
          "kind": "awake-start",
          "window": 0
        }
      ]
    }
  ]
}

dormeto gcp

Lists the schedules of the router's workloads: zone, windows and next event.

dormeto gcp schedule list --project <project> --region <region> [--all] [--state <state>]... [--search <text>] [--tag k=v]...
OptionValuesDefaultEffect
--all——Also the workloads without a schedule.
--stateAWAKE, NAPPING, ASLEEP, WAKING or FAILED, comma-separated or repeatedallWorkloads in these states.
--searcha text—Workloads whose name or ID holds it.
--tagk=v, repeatable—Workloads with all these Dormeto tags.
dormeto gcp schedule list --project my-project --region europe-west1

Table

ROUTER                        WORKLOAD  NAME  CLOUD  STATE   ZONE          WINDOWS  NEXT
dmtr-my-project-europe-west1  shop      shop  gcp    ASLEEP  Europe/Paris  1        Mon 16 Nov 08:00 CET awake window starts
1 workload with a schedule

JSON

{
  "workloads": [
    {
      "router": "dmtr-my-project-europe-west1",
      "workloadId": "shop",
      "name": "shop",
      "cloud": "gcp",
      "state": "ASLEEP",
      "schedule": {
        "at": "2026-11-02T14:00:00.000Z",
        "by": "ops@example.com",
        "timeZone": "Europe/Paris",
        "windows": [
          {
            "days": [
              "mon",
              "tue",
              "wed",
              "thu",
              "fri"
            ],
            "end": "19:00",
            "kind": "awake",
            "start": "08:00"
          }
        ]
      },
      "next": [
        {
          "at": "2026-11-16T07:00:00.000Z",
          "kind": "awake-start",
          "window": 0
        }
      ]
    }
  ]
}
  • A workload whose schedule cannot be read is named on stderr and left out: exit 1.

schedule remove

Amazon Web Servicesdormeto aws

Removes one window from a workload's schedule.

dormeto aws schedule remove <router>/<workload> --window <n> [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequiredThe workload.
--windowa window's numberrequiredThe window to remove.
dormeto aws schedule remove prod-eu/web --window 2

Table

prod-eu/web: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
prod-eu/web: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  except 2026-12-25
  maximum nap 7 days

JSON

{
  "prod-eu/web": {
    "schedule": {
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "kind": "awake",
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "start": "08:00",
          "end": "19:00"
        }
      ],
      "exceptions": [
        "2026-12-25"
      ],
      "maxNapDays": 7,
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z"
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ],
    "maintenanceDue": null
  }
}

dormeto gcp

Removes one window from a workload's schedule.

dormeto gcp schedule remove <workload> --project <project> --region <region> --window <n> [--dry-run] [--yes]
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
--windowa window's numberrequiredThe window to remove.
dormeto gcp schedule remove shop --project my-project --region europe-west1 --window 2

Table

dmtr-my-project-europe-west1/shop: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts
dmtr-my-project-europe-west1/shop: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00

JSON

{
  "dmtr-my-project-europe-west1/shop": {
    "schedule": {
      "at": "2026-11-01T10:00:00.000Z",
      "by": "ops@example.com",
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "end": "19:00",
          "kind": "awake",
          "start": "08:00"
        }
      ]
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ]
  }
}
  • Window numbers are those schedule show prints.
  • It reads the schedule and writes it whole: a change made meanwhile is lost.
  • The router checks the schedule against its limits, and its refusal is printed.
  • A router that refuses a schedule with no window says so: schedule clear removes it.

schedule set

Amazon Web Servicesdormeto aws

Sets workloads' awake and nap windows from a JSON file.

dormeto aws schedule set (<router>/<workload>... | --tag k=v...) --file <path or -> [--dry-run] [--yes]
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequired, or --tagThe workloads, one or more.
--tagk=v, repeatable—Every workload with all these Dormeto tags, instead of targets.
--filea JSON file or -requiredThe schedule, or schedule show --json output.
dormeto aws schedule set prod-eu/web --file schedule.json

Table

prod-eu/web: schedule set
  next
    Mon 16 Nov 08:00 CET awake window starts

JSON

{
  "prod-eu/web": {
    "schedule": {
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "kind": "awake",
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "start": "08:00",
          "end": "19:00"
        }
      ],
      "by": "arn:aws:sts::111122223333:assumed-role/ops/ci",
      "at": "2026-11-14T10:00:00.000Z"
    },
    "next": [
      {
        "at": "2026-11-16T07:00:00.000Z",
        "kind": "awake-start",
        "window": 0
      }
    ],
    "maintenanceDue": null
  }
}

dormeto gcp

Sets a workload's awake and nap windows from a JSON file.

dormeto gcp schedule set <workload> --project <project> --region <region> --file <path or -> [--dry-run] [--yes]
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
--filea JSON file or -requiredThe schedule, or schedule show --json output.
dormeto gcp schedule set shop --project my-project --region europe-west1 --file schedule.json

Table

dmtr-my-project-europe-west1/shop: schedule set

JSON

{
  "dmtr-my-project-europe-west1/shop": {
    "schedule": {
      "at": "2026-11-01T10:00:00.000Z",
      "by": "ops@example.com",
      "timeZone": "Europe/Paris",
      "windows": [
        {
          "days": [
            "mon",
            "tue",
            "wed",
            "thu",
            "fri"
          ],
          "end": "19:00",
          "kind": "awake",
          "start": "08:00"
        }
      ]
    },
    "next": []
  }
}
  • It sends the file as it is: the router checks it, and its refusal is printed.

schedule show

Amazon Web Servicesdormeto aws

Prints a workload's schedule: time zone, windows, exceptions and next events.

dormeto aws schedule show <router>/<workload>
OptionValuesDefaultEffect
<router>/<workload>a router and a workload IDrequiredThe workload.
dormeto aws schedule show prod-eu/web

Table

prod-eu/web: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  except 2026-12-25
  maximum nap 7 days
  next
    Mon 16 Nov 08:00 CET awake window starts

JSON

{
  "schedule": {
    "timeZone": "Europe/Paris",
    "windows": [
      {
        "kind": "awake",
        "days": [
          "mon",
          "tue",
          "wed",
          "thu",
          "fri"
        ],
        "start": "08:00",
        "end": "19:00"
      }
    ],
    "exceptions": [
      "2026-12-25"
    ],
    "maxNapDays": 7,
    "by": "ops@example.com",
    "at": "2026-11-02T14:00:00.000Z"
  },
  "next": [
    {
      "at": "2026-11-16T07:00:00.000Z",
      "kind": "awake-start",
      "window": 0
    }
  ],
  "maintenanceDue": null
}

dormeto gcp

Prints a workload's schedule: time zone, windows, exceptions and next events.

dormeto gcp schedule show <workload> --project <project> --region <region>
OptionValuesDefaultEffect
<workload>a workload's IDrequiredThe workload.
dormeto gcp schedule show shop --project my-project --region europe-west1

Table

dmtr-my-project-europe-west1/shop: time zone Europe/Paris
  1. awake mon–fri 08:00–19:00
  next
    Mon 16 Nov 08:00 CET awake window starts

JSON

{
  "schedule": {
    "at": "2026-11-02T14:00:00.000Z",
    "by": "ops@example.com",
    "timeZone": "Europe/Paris",
    "windows": [
      {
        "days": [
          "mon",
          "tue",
          "wed",
          "thu",
          "fri"
        ],
        "end": "19:00",
        "kind": "awake",
        "start": "08:00"
      }
    ]
  },
  "next": [
    {
      "at": "2026-11-16T07:00:00.000Z",
      "kind": "awake-start",
      "window": 0
    }
  ]
}
  • It numbers the windows, for remove and except --window.
  • It prints each recurrence in words, and the next events.