How can we parse cronExpression to get the next trigger date in Javascript?

502 Views Asked by At

I want to parse the cronExpression like ('0 0 8 13 * ?) to get the next trigger-Date in javascript.

eg. Cron String (0 0 10 ? * MON-FRI) Class runs Monday through Friday at 10 AM. I need to calculate next trigger date in the format (dd-mm-yyyy) 15-10-2012.

Please share the code-snippet or algorithm for above problem?

0

There are 0 best solutions below