Represents a Megascript instance with its properties.

interface MegascriptInstance {
    CronExpression: string;
    Enabled: boolean;
    IsCronInterval: boolean;
    MaxDownloadSize: number;
    Name: string;
    PurgeManually: boolean;
    RunBackground: boolean;
    TriggerViaApi: boolean;
}

Properties

CronExpression: string

The cron expression for scheduling the Megascript.

Enabled: boolean

Indicates if the Megascript instance is enabled.

IsCronInterval: boolean

Indicates if the Megascript runs on a cron interval.

MaxDownloadSize: number

The maximum allowed download size for the Megascript instance.

Name: string

The name of the Megascript instance.

PurgeManually: boolean

Indicates if the Megascript can be manually purged.

RunBackground: boolean

Indicates if the Megascript runs in the background.

TriggerViaApi: boolean

Indicates if the Megascript can be triggered via API.