News for hackers. Stuff that matters.
Re:Show HN: Lightweight job scheduling for Node.js by bunkat on Friday November 01, 2013 @07:28PM (#6657254)
If you wanted even more flexible schedules, you might want to look into Later.js (http://bunkat.github.io/later/), a small library I created just for this purpose. It supports composite and exception schedules, cron schedules, and lots of different time periods. Everything can be specified using an API or using English text.

I also built replacements for setTimeout and setInterval to use Later schedules, so it should be easy enough to plug it into your solution.

Re:Show HN: Lightweight job scheduling for Node.js by rschmukler on Friday November 01, 2013 @07:54PM (#6657387)
Very cool. How robust is the english parsing? For example, would it understand something like "The first wednesday of every month"? Either way I will definitely check it out.
Re:Show HN: Lightweight job scheduling for Node.js by bunkat on Friday November 01, 2013 @08:35PM (#6657548)
You can see the grammar and lots of examples at http://bunkat.github.io/later/parsers.html#text. For your question, it would be 'on Wednesday on the first day instance every 1 month' or 'on the first day instance on Wed' would also work.