schedules
Read and change the business-hours schedules of your AI Agent. Scheduled Blocks and Playbook conditions use a schedule to know when your team is open. These are the schedules of the Settings > Schedules page of the dashboard.
Commands
Examples
List the schedules, with their IDs:
Create a schedule that is open on weekdays from 9:00 to 17:00, Toronto time:
Close a schedule on Saturday, and close it for a holiday afternoon:
See the change that an update makes, and save nothing:
Details
createneeds--name,--timezoneand--hoursfor at least one day. A day with no--hoursis closed.--hourstakes a day name, or its first 3 letters, then one or more ranges, such asmon=08:00-12:00,13:00-17:00.closedcloses the day. Repeat--hoursfor more days. The ranges of one day must not overlap.--specialcloses the schedule on one date between two times. Repeat it for more dates.--timezonetakes an IANA name, such asAmerica/TorontoorEurope/London, orUTC. An offset, such as+01:00, or an abbreviation, such asPST, does not work.updatekeeps the hours of each day and date that you do not name.- A schedule must be open on at least one day of the week. Two schedules cannot have the same name, with no regard to case.
--filetakes a JSON object in the shape ofget --json. The options apply after the file.- Before it saves, adacli reads the schedules again. If another user changed them since, adacli saves nothing and stops with the
LIST_CHANGEDerror. Run the command again. deleterefuses a schedule that an Answer, a Playbook or a Collaboration team uses. Outside a terminal, add--yes. You cannot undo a delete.
For every option of a command, run it with --help, for example adacli acme schedules update --help.