Hacker News new | past | comments | ask | show | jobs | submit login

I feel like at some point we should upgrade to something more human-friendly. Like the nice descriptions they have here https://github.com/agenda/agenda And no I am not saying people should use that specific thing. Just that the human-readable scheduling is a good example.

Maybe in the 22nd century.




Since it also accepts cron syntax, so people would probably use that after a short while. I really don't think I have seen anything that could keep up.

Although:

  await agenda.every("3 minutes", "delete old users");
  // Alternatively, you could also do:
  await agenda.every("*/3 * \* \* \*", "delete old users");
Cron would do something different here. The second expression would run every third minute. 0:00, 0:03, ...

not exactly "every 3 minutes".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: