Last modified November 7, 2024

getSchedules

This function prints the objects data given its Schedule ID.
Parameters
Parameter name Type Description Possible Values Example
_id String REQUIRED The Schedule ID   _id=5f890a19e55cf262863522f2

Example Call JETAPI

jetbackup5api -F getSchedule -D "_id={$SCHEDULE_ID}"
success: 1
message:
system:
version: 5.3.3
version_panel: 5.3.3
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
_id: 64f37dd1347bd676126b3302
name: hourly31132
type: 1
type_name: Hourly
type_data: 1
delay_type: 1
delay_amount: 0
delay: 0
owner: 64f37d695aa01f55661b38f2
owner_name: root
count: 1
jobs:
        0:
        _id: 64f37dd2b740ce5d5e1c01f2
        name: Backup: test

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getSchedule&_id={$SCHEDULE_ID}