ncb000gt/node-cron — pull request #40 by calmh (2012-07-01 22:15:57+00:00)
Title: Correctly handle long sleep times

Currently the code tries to setTimeout for too long intervals when
handling for example a monthly job. This commit fixes the wait logic so
that it doesn't try to sleep longer than the setTimeout maximum of
2^31-1 milliseconds (24.9 days).