Pterodactyl Client icon

Pterodactyl Client

User-level server management with Pterodactyl Panel Client API

Schedule → Update Task

AI-generated

Summary

Update a specific task within a schedule on a selected server in the Pterodactyl panel by modifying its action and related parameters such as command, power action, backup name, and time offset.

Inputs

  • serverId (required) — Select the server containing the schedule.
  • scheduleId (required) — Select the schedule that contains the task to update, filtered by the selected server.
  • taskId (required) — Select the specific task to update within the given schedule and server.
  • action (required) — Choose the type of action for the task: Command (execute console command), Power (perform a power action), or Backup (create a backup).
  • powerAction (required) — If the action is "Power", specify the power action to perform: start, stop, restart, or kill the server.
  • command (required) — If the action is "Command", provide the console command string to execute.
  • backupName — If the action is "Backup", optionally provide a custom backup filename; leave empty to use an auto-generated name.
  • timeOffset — Specify the number of seconds to wait before executing this task.

Output shape

a single JSON object representing the updated task details or confirmation

Returns the updated task data as a JSON object. Errors produce an error message in the response. Supports multiple input items with individual updates per task.

Discussion