Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agenda schedule not working for defined date #1084

Open
PriyaJainDev opened this issue Jun 6, 2020 · 0 comments
Open

Agenda schedule not working for defined date #1084

PriyaJainDev opened this issue Jun 6, 2020 · 0 comments

Comments

@PriyaJainDev
Copy link

PriyaJainDev commented Jun 6, 2020

Agenda has some issues regarding starting a job at a scheduled time like '2020-06-06T08:48:00.000Z' (just an example). Can anyone help regarding it?

I have a minimal script like:

agenda.on("ready", () => {

agenda
  .create(`${campaign_name}`, testData)
  .unique({ "data.unique_id": testData.userId })
  .repeatEvery("*/10 * * * * *", {
    timezone: "America/Los_Angeles",
  })
  .schedule(start_at)
  .save();

});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant