Skip to main content
Module

x/ptereno/lib/models/Client.ts>default#createTask

An efficient and fully compliant Pterodactyl API wrapper.
Latest
method default.prototype.createTask
import { default } from "https://deno.land/x/ptereno@v1.0.1/lib/models/Client.ts";

Creates a new task on a specific schedule.

The payload field can only be used if action is not set to backup.

Parameters

server: string

The server uuid

schedule: number

The schedule id

unnamed 2: TaskOptions