automation-pilot-scheduled-executions-api
Skill1 starsChanged 4 months agoMITView on GitHub
Manage SAP Automation Pilot scheduled executions via API. Use when creating, listing, updating, or deleting schedules for recurring or one-time command execution.
- Sends data out
In this repository413 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .cursor/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sap-router-skillCopilot instructions
- .cursor/rules/sap-router.mdcCursor rule
- abap-cloud-migrationSkill
- abap-cloudSkill
- abap-code-patternsSkill
- abap-code-reviewSkill
- abap-docs-referenceSkill
- abapgitSkill
- abapSkill
- abap-snippetSkill
- abap-sql-amdpSkill
- abap-system-infoSkill
- abap-unit-testingSkill
- arc-1-skillsSkill
- atc-cloudificationSkill
- authorization-iamSkill
- automation-pilot-catalog-explorerSkill
- automation-pilot-command-generationSkill
- automation-pilot-command-reviewSkill
- automation-pilot-content-management-via-apiSkill
- automation-pilot-debuggerSkill
- automation-pilot-executions-apiSkill
- automation-pilot-executor-executescriptSkill
- automation-pilot-executor-httprequestSkill
- automation-pilot-mcp-server-generationSkill
- badi-enhancementSkill
- btp-abap-environmentSkill
- btp-best-practicesSkill
- btp-build-work-zoneSkill
- btp-business-application-studioSkill
- btp-ciasSkill
- btp-cloud-foundrySkill
- btp-cloud-identitySkill
- btp-cloud-loggingSkill
- btp-cloud-platformSkill
- btp-cloud-transport-managementSkill
- btp-connectivitySkill
- btp-developer-guideSkill
- btp-diagram-generatorSkill
- btp-integration-suiteSkill
- btp-job-schedulingSkill
- btp-master-data-integrationSkill
- btp-service-managerSkill
- cap-add-remote-serviceSkill
- cap-developerSkill
- cap-triviaSkill
- capture-answerSkill
- cap-upgradeSkill
- cds-view-entitiesSkill
- claude-abap-skillsSkill
- claude-memSkill
- clean-abapSkill
- context-modeSkill
- cpi-iflow-developmentSkill
- engine-cap-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Ensure curl is available in your environment.
- Distinctive: line 258
Verify the command ID exists and you have access to it.
- Distinctive: line 265
Ensure only one schedule type is set (hourly, daily, weekly, monthly, or yearly).
- Distinctive: line 291
PUT the full updated body back
- Distinctive: line 300
Verify the schedule is created and enabled
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SAP Automation Pilot Scheduled Executions API Management
This skill manages scheduled command executions in SAP Automation Pilot - creating, listing, updating, and deleting scheduled executions with flexible scheduling options and time zone support.
Prerequisites
- Set the following required environment variables:
export AUTOPI_HOSTNAME="emea.autopilot.cloud.sap"
export AUTOPI_USERNAME="your-username"
export AUTOPI_PASSWORD="your-password"
export AUTOPI_DEFAULT_CATALOG="mycommands-<<<TENANT_ID>>>"For the full list of supported hostnames (emea, aus, apac, amer, ksa), see ../automation-pilot-content-management-via-api/SKILL.md → Prerequisites.
- Ensure
curlis available in your environment.
Schedule Types
SAP Automation Pilot supports the following schedule types:
Once (One-time)
Execute once at a specific date/time.
"once": { "month": 12, "day": 31, "hour": 23, "minute": 30 }Hourly
Execute at specified minutes within each hour.
"hourly": {
"minutes": [0, 15, 30, 45]
}Daily
Execute at specified time each day.
"daily": {
"hours": [9],
"minutes": [0]
}Weekly
Execute on specified days of the week at a specific time.
"weekly": {
"days": ["MONDAY", "WEDNESDAY", "FRIDAY"],
"hours": [9],
"minutes": [0]
}Monthly
Execute on specified days of each month.
"monthly": {
"days": [1, 15],
"hours": [9],
"minutes": [0]
}Yearly
Execute on specific date each year.
"yearly": {
"month": 1,
"day": 1,
"hour": 0,
"minute": 0
}Creating Scheduled Executions
curl -s -X POST \
-u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"commandId": "my-catalog:MyCommand:1",
"schedule": {
"timeZone": "Europe/Berlin",
"daily": {
"hours": [9],
"minutes": [0]
}
},
"enabled": true,
"inputValues": {
"param1": "value1"
},
"description": "Daily morning check"
}' \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions"All inputValues entries must be strings on the wire, regardless of the declared parameter type — see ../automation-pilot-content-management-via-api/SKILL.md → "Values Are Always Strings on the Wire".
Managing Scheduled Executions
List All Schedules
curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions"Get Schedule Details
SCHEDULE_ID="your-schedule-id"
curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions/$SCHEDULE_ID"Enable/Disable Schedule
# PUT the full schedule body with "enabled" set to true or false
curl -s -X PUT \
-u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
-H "Content-Type: application/json" \
-d '<full schedule body with enabled changed>' \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions/$SCHEDULE_ID"Delete Schedule
curl -s -X DELETE \
-u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions/$SCHEDULE_ID"Updating Scheduled Executions
curl -s -X PUT \
-u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"commandId": "my-catalog:MyCommand:1",
"schedule": {
"timeZone": "Europe/Berlin",
"daily": {
"hours": [10],
"minutes": [0]
}
},
"enabled": true,
"inputValues": {}
}' \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions/$SCHEDULE_ID"Time Zones
List Available Time Zones
curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \
"https://$AUTOPI_HOSTNAME/api/v1/scheduled-executions/time-zones"Common Time Zones
| Time Zone | Description |
Etc/UTC | Coordinated Universal Time (default) |
Europe/Berlin | Central European Time (CET/CEST) |
Europe/London | British Time (GMT/BST) |
America/New_York | Eastern Time (EST/EDT) |
America/Los_Angeles | Pacific Time (PST/PDT) |
Asia/Tokyo | Japan Standard Time |
Asia/Singapore | Singapore Time |
Australia/Sydney | Australian Eastern Time |
Scheduled Execution Schema
Request Body (Create/Update)
{
"commandId": "catalog:CommandName:version",
"description": "Optional description",
"correlationId": "optional-correlation-id",
"tags": {},
"inputValues": {
"param1": "value1"
},
"inputReferences": [],
"schedule": {
"timeZone": "Europe/Berlin",
"daily": {
"hours": [9],
"minutes": [0]
}
},
"enabled": true
}Error Handling
HTTP Status Codes
| Code | Description |
200 | Success (GET, PUT) |
201 | Created (POST) |
204 | No Content (DELETE) |
400 | Bad Request - invalid schedule or input |
401 | Unauthorized - invalid credentials |
403 | Forbidden - insufficient permissions |
404 | Not Found - schedule doesn't exist |
409 | Conflict - invalid state |
429 | Rate Limited |
Permissions Required
| Operation | Permission |
| List/Get schedules | Read |
| Create/Update/Delete | Execute |
Common Errors
Command Not Found (409)
Error: Command "catalog:Command:1" not foundVerify the command ID exists and you have access to it.
Invalid Schedule (400)
Error: Invalid schedule configurationEnsure only one schedule type is set (hourly, daily, weekly, monthly, or yearly).
Schedule Not Firing
Cause: Schedule is disabled or the time zone is misconfigured.
Solution: GET the schedule and verify "enabled": true. Confirm the timeZone matches the intended region — a schedule set for Europe/Berlin at 09:00 fires at a different UTC time than one set for Etc/UTC.
Examples
Example 1: Create a daily health check schedule
User: "Schedule my health check command to run every day at 9 AM Berlin time"
- POST to
/api/v1/scheduled-executionswithcommandId,enabled: true, and"daily": {"hours": [9], "minutes": [0]} - Set
"timeZone": "Europe/Berlin" - Capture the schedule ID from the response
- Confirm with a GET that the schedule is enabled and the time is correct
Example 2: Update a schedule's timing
User: "Change my schedule to run at 10 AM instead of 9 AM"
- GET
/api/v1/scheduled-executions/$SCHEDULE_IDto fetch the current body - Modify the
hoursvalue in the response body to[10] - PUT the full updated body back
- Confirm the response shows the new time
Example 3: Create an every-15-minutes monitoring schedule
User: "Run my monitoring command every 15 minutes"
- POST to
/api/v1/scheduled-executionswith"hourly": {"minutes": [0, 15, 30, 45]} - Set
"timeZone": "Etc/UTC" - Verify the schedule is created and enabled
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

