Create Game Server Schedule
create_gameserver_scheduleCreate a gameserver schedule, recurring (cron) or one-time (runOnceAt); set exactly one of them. action: restart, start, stop, command (needs command, sent to the server console), backup (needs ZapX Pass Pro), wipe (only games with a wipe such as Rust, needs wipe options). Five-field cron evaluated in timezone (IANA, default UTC), at most every 5 minutes, max 20 schedules per server. runOnceAt = local "YYYY-MM-DDTHH:mm" in timezone, in the future and at most one year ahead: the schedule runs exactly once and switches itself off. Write both as the customer's local wall-clock time and set timezone to their zone, never convert to UTC yourself. To announce a restart, add a second command schedule a few minutes earlier (e.g. cron "55 3 * * *" with command "say Restart in 5 minutes"). Requires confirm=true. Requires an active ZapX Pass (see server instructions).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serviceId": "<serviceId>",
"name": "<name>",
"action": "<action>"
},
"name": "create_gameserver_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron | No | Recurring schedule: five-field cron in local time of `timezone`, e.g. "0 4 * * *" = daily 04:00. At most every 5 minutes. Leave out for a one-time schedule (`runOnceAt`). | |
| name | Yes | ||
| wipe | No | Wipe options, required for action=wipe (only games with a wipe, e.g. Rust). | |
| action | Yes | ||
| command | No | Console command, required for action=command. | |
| confirm | No | ||
| isActive | No | ||
| timezone | No | IANA zone the cron / runOnceAt is evaluated in, e.g. "Europe/Berlin". Default UTC. | |
| runOnceAt | No | One-time schedule: local date and time "YYYY-MM-DDTHH:mm" in `timezone` (e.g. "2026-11-20T03:00"), in the future and at most one year ahead. Runs exactly once, then switches itself off (isActive=false). Use it for "once tomorrow at 3am", never a cron with a fixed day and month. | |
| serviceId | Yes | ID of the Gameserver: the "id" field from list_account_services or list_gameservers (e.g. "cmabc123..."). The numericId shown in the panel (e.g. "180") is accepted too. IDs of other service types do not work here. |