Skip to main content

Update a bot executor cron job

import botfleet

botfleet.api_key = "YOUR_API_KEY"

botfleet.BotExecutorCronJob.update(
id="15d19ca3-26f1-4adb-9cea-3955b73d9b4e",
name="Updated name",
status="suspended",
)

The following fields can be updated: name, status.

Returns a BotExecutorCronJob object.