Open Tasks and choose Create task on a card under Starter tasks. Simplcron registers the task in your current workspace, project, and environment. The card then gives you a shortcut to the API playground or Schedules so you can choose when to run it.
Tasks -> Create task -> Registered in current project and environment
|
+-> Submit now or choose a run time -> Run ID
|
+-> Start a run -> Wait Until -> Resume the same run
|
+-> Start a run -> Wait for Reply -> Reply or timeout
| |
| Resume the same run
|
+-> Save a recurring schedule -> Run ID at each occurrence
|
+-> Call the trigger URL -> Run IDThe starter catalog is available wherever the test fixture is configured, including Simplcron staging. Starter handlers use synthetic data. To connect your application, follow the Quickstart to register your own task with an approved HTTPS endpoint.
| Use case | Task slug | What to try |
|---|---|---|
| Run a task now | starter-run-now |
Select Open in playground, submit the sample payload, then open the run by ID. |
| Schedule a reminder | starter-schedule-once |
Select Set run time, choose a future time, and submit. The API represents the chosen instant as an RFC 3339 runAt timestamp with an offset. Runs can be scheduled up to 30 days ahead. |
| Wait Until | starter-wait-until |
Select Set resume time, choose when to resume, and submit. Open the run to see it wait, resume, and call the handler under the same run ID. |
| Wait for Reply | starter-wait-for-reply |
Select Set reply timeout and open the run. Send a sample reply or let the timeout expire. Both outcomes resume the same run and call the handler. |
| Retry a temporary failure | starter-retry-once |
Open it in the playground and submit the sample payload. The test handler records a synthetic write and returns HTTP 503 on the first attempt. The retry returns HTTP 200 under the same run ID and reuses the first write. Confirm two attempts on the run timeline and deduplicated: true in the output. |
| Send a recurring report | starter-recurring-report |
Select Set up schedule. The form starts with Mondays at 09:00 UTC. Review or change the cadence before saving. Each occurrence gets its own run ID. |
| Trigger from an event | starter-webhook-trigger |
Select Open in playground and find the request under Trigger from your app. Call the trigger URL with an API key from this environment. Use the upstream event ID in the idempotency key when the sender can deliver the event again. |
| Inspect a failed run | starter-failed-run |
Open it in the playground and submit the sample payload. The handler returns HTTP 503 and this starter allows one attempt. Find the failed attempt in Runs. To test a signed task.failed notification as well, configure an approved receiver in Webhooks before submission. |
Try Wait Until
- In Tasks, select Create task on Wait Until, then select Set resume time.
- Set Resume at (local time) to a future date and time or select In 30 seconds. Submit the sample job and select Open run.
- While the run is Waiting, its activity shows the pause and the planned resume time. The handler has zero attempts at this point. You can leave the page and reopen the run by ID.
- At or after the chosen time, the same run resumes and calls the sample handler. The activity shows Wait started and Run resumed before the handler attempt. The API logs record these as
wait.startedandwait.resumed. To test cancellation, submit another job and cancel it while it is waiting.
Use waitUntil to pause a started run. A reminder submitted with runAt stays scheduled until it is eligible to start. The Wait Until starter takes a single resume time and cannot be attached to a recurring schedule.
Submit Wait Until from your application
Register Wait Until first. Use a server-side key with runs:write for the same environment. Send waitUntil at the top level with an RFC 3339 timestamp and an explicit offset such as Z or +11:00. For a new submission, choose a future instant up to 30 days away. Use this field only with starter-wait-until and omit runAt.
WAIT_UNTIL=$(node -p 'new Date(Date.now() + 30000).toISOString()')
curl --fail-with-body "$SIMPLCRON_BASE_URL/v1/jobs" \
-H "Authorization: Bearer $SIMPLCRON_API_KEY" \
-H "Content-Type: application/json" \
--data "{\"task\":\"starter-wait-until\",\"waitUntil\":\"$WAIT_UNTIL\",\"payload\":{\"message\":\"Resume the sample task\"}}"The same input works with /v1/triggers/starter-wait-until when you omit task from the body. Read the returned run ID to find waitUntil, waitStartedAt, and waitResumedAt. The latter two record when each transition happened. You can also use status=waiting when listing runs. Submit a job · Get a run · Get run logs
Try Wait for Reply
- In Tasks, select Create task on Wait for Reply, then select Set reply timeout.
- Set Timeout (seconds) to
60, then select Submit job and Open run. The run shows Waiting with zero handler attempts. - Select Send sample reply before the deadline. Look for Reply received, Run resumed, and the handler attempt under the original run ID. Use Copy reply webhook URL to find the endpoint for this run.
- Start a second run with a short timeout and leave it waiting. Its activity shows Reply timed out, then Run resumed and a handler attempt under that run’s original ID. A timeout resumes normal execution and the handler can complete successfully.
Each run’s deadline starts when Simplcron accepts the job. The timeout can be any whole number of seconds from 5 to 2,592,000 (30 days) and defaults to 60. The starter supports one-off submissions.
Submit job -> Run ID -> Waiting
|
+-> First reply before deadline -+
|
+-> Deadline reached ------------+
|
Same run resumes -> Handler runsForward a reply from your application
Register Wait for Reply first, then submit it with a server-side API key that has runs:write for the same project and environment. Set replyTimeoutSeconds beside payload. The starter accepts its own timeout, so leave runAt and waitUntil out of the request body.
curl --fail-with-body "$SIMPLCRON_BASE_URL/v1/jobs" \
-H "Authorization: Bearer $SIMPLCRON_API_KEY" \
-H "Content-Type: application/json" \
--data '{"task":"starter-wait-for-reply","replyTimeoutSeconds":60,"payload":{"message":"Waiting for a reply"}}'Save the returned run ID alongside the conversation or message that can receive a reply. When your application receives an incoming webhook, verify it using your provider’s authentication scheme, look up the run ID, and forward the reply as a JSON object. Keep the Simplcron API key on your server. Set RUN_ID to the saved ID for this example.
curl --fail-with-body "$SIMPLCRON_BASE_URL/v1/runs/$RUN_ID/reply" \
-H "Authorization: Bearer $SIMPLCRON_API_KEY" \
-H "Content-Type: application/json" \
--data '{"payload":{"message":"Yes, I can make it"}}'The first reply before the deadline returns HTTP 202 with accepted: true, including while the run is queued. A retry with the same JSON data returns 200 with accepted: false, including after the run has finished. Simplcron ignores object key order for this check. A different reply after one was accepted, a late first reply, or a reply to a cancelled run returns 409. Keep the reply payload within 2 KiB of JSON data.
Read waitUntil on the run for the deadline. After the run resumes, waitOutcome is reply or timeout. The signed handler request includes that outcome and a reply field containing receivedAt and payload when a reply arrived. On timeout the handler receives reply: null. The activity trace records wait.reply_received or wait.timed_out before wait.resumed. Send a reply to a run · Get a run · Get run logs
Trigger a sample event from your application
Create Trigger from an event, then use a server-side API key with runs:write and the origin of your Simplcron console.
curl --fail-with-body "$SIMPLCRON_BASE_URL/v1/triggers/starter-webhook-trigger" \
-H "Authorization: Bearer $SIMPLCRON_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: starter-event-example-001" \
--data '{"payload":{"event":"order.completed","orderId":"sample-order-001"}}'Read the returned run ID in Runs or use it with the run logs API. See Webhooks to receive and verify signed execution, completion, or failure notifications. To automate starter registration from your server, use List task starters and Create a task from a starter.
What comes next
- Branches and Flow Builder. Use the outcome of a step or wait to choose the next action. Add multi-step templates once the console can trace these paths and retry individual steps.
- Schedules in local time. Add named time zones and define how daylight saving changes affect reminders and recurring jobs.