Permalink
Commits on Jul 4, 2012
  1. Version bump.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jul 4, 2012
  2. Warn when the max timeout is too large.

    The max timeout being too high will cause the timeout to fire
    immediately. While this has been fixed, we need to warn people when the
    timeout has been changed by the library. This just lets the developer
    know of the change.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jul 4, 2012
  3. Merge pull request #40 from calmh/fix-long-sleep

    Correctly handle long sleep times
    ncb000gt committed Jul 4, 2012
Commits on Jul 3, 2012
  1. Add test case for long wait

    When scheduling a job 32 days into the future, we should not get the
    callback within 250 ms.
    calmh committed Jul 3, 2012
Commits on Jul 1, 2012
  1. 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).
    calmh committed Jul 1, 2012
Commits on Jun 25, 2012
  1. Added v0.8.0 support.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jun 25, 2012
Commits on Jun 8, 2012
  1. Version bump and contributor.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jun 8, 2012
  2. Merge pull request #37 from baryshev/patch-1

    Fixed loss of timeZone when the parameters are passed as an object.
    ncb000gt committed Jun 8, 2012
Commits on Jun 7, 2012
Commits on May 25, 2012
  1. Version.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 25, 2012
  2. Build NAOW!

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 25, 2012
  3. Rerun build?

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 25, 2012
  4. Node v0.7.x in travis.

    Changes to support the latest node env in Travis.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 25, 2012
  5. Merge branch 'master' of https://github.com/toots/node-cron

    Conflicts:
    	tests/test-cron.js
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 25, 2012
Commits on May 24, 2012
  1. Version bump to 0.3.1

    Bump the version to cover the failure of onCompletes.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 24, 2012
  2. Fix tests and make sure onComplete runs - GH-35.

    onComplete wasn't being called correctly. While it was being passed to
    the onTick calls appropriately it should have been fired when the job
    was explicitly stopped or when the timer ran out, not to be run again.
    This wasn't happening.
    
    Additionally, the tests for onComplete were really bad. They were
    expecting that the onTick fire off the onCompletes. That is...lacking to
    say the least. This has now been fixed as well.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 24, 2012
Commits on May 9, 2012
  1. Make sure date values only fire once per GH-34.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 9, 2012
  2. Failing test for dates to make sure they fire only once.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed May 9, 2012
Commits on Apr 25, 2012
  1. Various fixes.

    toots committed Apr 25, 2012
  2. Version bump due to features and bug fixes.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 25, 2012
  3. Install clarifications.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 25, 2012
  4. Example using a Date object

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 25, 2012
  5. Time module is not required to run this module. However, if you want …

    …your timezone functionality, you will need it. I've added it as a dev dep for the sake of testing.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 25, 2012
  6. global var

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 25, 2012
  7. Merge pull request #32 from danhbear/master

    Fix CronTime.sendAt to always return the first eligible date
    ncb000gt committed Apr 25, 2012
Commits on Apr 24, 2012
  1. Fix tests after timezone rebase

    danhbear committed Apr 24, 2012
  2. Add tests, re-organize slightly to support testing CronTime.sendAt wi…

    …th arbitrary start times.
    danhbear committed Apr 24, 2012
  3. CronTime.sendAt: quick fix for issue where seconds/minute/hour cause …

    …roll-over to 2 days away.
    danhbear committed Apr 17, 2012
Commits on Apr 22, 2012
  1. Check timezone output as well as hours. Also, using notEquals rather …

    …than ok on tests.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 22, 2012
Commits on Apr 21, 2012
  1. Add timezone support.

    toots committed Apr 21, 2012
Commits on Apr 10, 2012
  1. Merge pull request #29 from okuryu/fix-readme

    Fix examples in README
    ncb000gt committed Apr 10, 2012
  2. Fix examples in README

    okuryu committed Apr 10, 2012
  3. formatting

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 10, 2012
  4. formatting.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Apr 10, 2012