question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] I'd like to schedule a workflow to run at a specific time

See original GitHub issue

We frequently see use cases arise for scheduling one-time jobs at a specific timestamp. For example, you may want to send your users an email exactly 2 hours after they sign up - you need a way to schedule a specific message, at a specific timestamp. You could send a message to this service using a format like:

{
  "timestamp": "2020-08-21T04:29:00.951Z",
  "message": { "name": "Luke", "email": "luke@jedi.com" }
}

Note: you can run a task scheduling service like this in your own AWS account, and have it trigger a Pipedream workflow, using this Pipedream event source.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:30 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
dylburgercommented, Oct 16, 2020

@nachocab I can confirm and we’re looking into it.

1reaction
dylburgercommented, Sep 25, 2020

@nachocab currently test events for event sources are hardcoded globally, and aren’t source-specific. Since that payload isn’t of the format the task scheduler expects, and since the HTTP request is made to the / path and not the /schedule path, that test event isn’t expected to work.

Just to confirm, if you send a request of the right format to the /schedule path, does that work?

We want to support test events that are bespoke to a given source, which should make this experience better in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schedule Workflow to turn on at specific time and date
I should be able to schedule the Workflow to turn on at Tues 10am PST if I want to. Why is this currently...
Read more >
Schedule Workflows
Complete the schedule date and time details. Scheduled workflows run at the scheduled time in the time zones in which the server is...
Read more >
Scheduled Workflows
Scheduling a workflow ​​ First, you build an API workflow as per your needs. Next you schedule your API workflow to run at...
Read more >
Scheduling Workflows Example
A fixed-rate scheduler runs at the specified interval. This fixed-rate scheduler runs every ten minutes.
Read more >
What is a Schedule | Temporal Documentation
A Schedule contains instructions for starting a Workflow Execution at specific times. Schedules provide a more flexible and user-friendly approach than ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found