/
Create schedule
Creates a schedule.
Security
ApiKeyAuth
the version of the query engine for the query, can be a version release name (e.g 'stable') or version number (e.g '0.205')
Example:"stable"
- https://api.treasuredata.com/v3https://api.treasuredata.com/v3/schedule/create/{schedule_name}
- https://api.treasuredata.co.jp/v3https://api.treasuredata.co.jp/v3/schedule/create/{schedule_name}
- https://api.ap02.treasuredata.com/v3https://api.ap02.treasuredata.com/v3/schedule/create/{schedule_name}
- https://api.eu01.treasuredata.com/v3https://api.eu01.treasuredata.com/v3/schedule/create/{schedule_name}
curl -i -X POST \
'https://api.treasuredata.com/v3/schedule/create/{schedule_name}' \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d name=string \
-d cron=string \
-d database=Alpha \
-d delay=5 \
-d executing_user_id=0 \
-d engine_version=stable \
-d pool_name=pool_1 \
-d priority=1 \
-d retry_limit=3 \
-d query=string \
-d result=string \
-d timezone=UTC \
-d type=stringOK
Datetime in ISO 8601 format (2020-12-31T11:22:33-05:00 or 2020-12-31T11:22:33Z for UTC)
Example:"2020-12-31T11:22:33Z"
Response
{ "created_at": "2020-12-31T11:22:33Z", "cron": "string", "database": "Alpha", "delay": 5, "name": "string", "query": "string", "timezone": "UTC", "type": "string", "user_name": "Treasure Data" }