Permalink
Commits on Mar 14, 2017
  1. Version 1.2.1

    santigimeno committed Mar 14, 2017
  2. src: improve performance when sorting invocations

    Using `sorted-array-functions` to sort the invocation arrays, improve
    the module performance greatly when scheduling lots (thousands) of jobs.
    
    Fixes: #333
    santigimeno committed Mar 10, 2017
Commits on Mar 11, 2017
  1. doc: add some comments

    EricPoker committed with santigimeno Mar 1, 2017
Commits on Jan 13, 2017
  1. doc: improve RecurrenceRule documentation

    Add `RecurrenceRule` properties.
    Fix typo by changing `seconds` to `second`.
    magicdawn committed with santigimeno Jan 13, 2017
Commits on Dec 18, 2016
  1. remove my email from README

    I'm getting contacted by lots of people who are not contributing otherwise and have not been involved in this project lately.
    tejasmanohar committed on GitHub Dec 18, 2016
Commits on Nov 28, 2016
  1. Fix unknown variable "now" on README.md

    celina-gaiao committed with santigimeno Nov 27, 2016
Commits on Oct 19, 2016
  1. bump all dependecies with non-major updates

    jonhester committed with santigimeno Oct 14, 2016
  2. Version 1.2.0

    santigimeno committed Oct 19, 2016
Commits on Oct 4, 2016
  1. Fixed typo

    rgksugan committed with santigimeno Oct 3, 2016
Commits on Aug 29, 2016
Commits on Jul 28, 2016
  1. startTime and endTime test

    beliefgp committed Jul 28, 2016
  2. support set startTime and endTime

    beliefgp committed Jul 28, 2016
Commits on Jun 18, 2016
  1. Version 1.1.1

    santigimeno committed Jun 18, 2016
Commits on Jun 6, 2016
  1. src: fix scheduling with RR with year property set

    Avoid an infinite loop by checking if we're past the year set in the
    RecurrenceRule.
    santigimeno committed with santigimeno May 1, 2016
Commits on Mar 9, 2016
  1. Version 1.1.0

    santigimeno committed Mar 9, 2016
  2. Fix memory Leak

    When a job is canceled without reschedule, the job is removed from
    the list but the name of the instance remains. After some added and
    canceled jobs, the list is full of null values. To avoid this, just
    delete the attribute.
    clik86 committed with santigimeno Jan 27, 2016
Commits on Feb 23, 2016
  1. Change nextTick to setImmediate

    This commit gives "breathing room" allowing code to execute while multiple schedule callbacks are called.
    
    ----TEST CODE BLOCK START
    var schedule = require('node-schedule');
    var util = require('util');
    util.log("Scheduling 5000 crons");
    for (var i = 0; i < 5000; i++) {
        schedule.scheduleJob('00 45 13 * * *', function(){
        });
    }
    util.log("Ok");
    
    var p = new Date().getTime();
    setInterval(function () {
        p = p + 1000;
        var difference = new Date().getTime() - p;
        util.log("Difference between expected & actual: " + difference)
    }, 1000);
    ----TEST CODE BLOCK END
    
    RESULTS BEFORE:
    5000 crons fire @1:30:00 (process.nextTick)
    23 Feb 13:28:57 - Difference between expected & actual: 270
    23 Feb 13:28:58 - Difference between expected & actual: 274
    23 Feb 13:28:59 - Difference between expected & actual: 278
    23 Feb 13:31:27 - Difference between expected & actual: 147589
    23 Feb 13:31:28 - Difference between expected & actual: 147593
    23 Feb 13:31:29 - Difference between expected & actual: 147595
    23 Feb 13:31:30 - Difference between expected & actual: 147599
    
    (note huge block as schedules fire)
    
    RESULTS AFTER:
    5000 crons fire @13:45:00 (setImmediate)
    23 Feb 13:44:55 - Difference between expected & actual: 34
    23 Feb 13:44:56 - Difference between expected & actual: 37
    23 Feb 13:44:57 - Difference between expected & actual: 41
    23 Feb 13:44:58 - Difference between expected & actual: 42
    23 Feb 13:44:59 - Difference between expected & actual: 46
    23 Feb 13:45:00 - Difference between expected & actual: 63
    23 Feb 13:45:01 - Difference between expected & actual: 89
    23 Feb 13:45:02 - Difference between expected & actual: 105
    23 Feb 13:45:03 - Difference between expected & actual: 115
    23 Feb 13:45:04 - Difference between expected & actual: 131
    
    (Note no more block!)
    klinquist committed Feb 23, 2016
Commits on Feb 17, 2016
  1. added testcase

    albertdatui committed Feb 17, 2016
Commits on Feb 4, 2016
  1. Draws more attention to recurrence rule default values.

    martellaj committed Feb 4, 2016
Commits on Feb 1, 2016
  1. Version 1.0.0

    santigimeno committed Feb 1, 2016
  2. src: don't allow scheduling tests in the past

    - Uncomment disabled 'past' tests that now pass again.
    santigimeno committed with santigimeno May 12, 2015
Commits on Jan 31, 2016
  1. updated testcase

    albertdatui committed Jan 31, 2016
Commits on Dec 7, 2015
  1. Merge pull request #219 from node-schedule/readme_documentation

    Re-organize and tweak documentation
    tejasmanohar committed Dec 7, 2015
  2. wrap _most_ things to 80 char lines

    tejasmanohar committed Dec 7, 2015
Commits on Nov 27, 2015
  1. 0.6.0

    tejasmanohar committed Nov 27, 2015
Commits on Nov 16, 2015
  1. src: don't allow invalid strings as Dates

    - Add new test.
    santigimeno committed Nov 11, 2015
Commits on Nov 12, 2015
  1. release 0.5.1

    tejasmanohar committed Nov 12, 2015
  2. Merge pull request #213 from bbqsrc/master

    Fix generator detection edge case
    tejasmanohar committed Nov 12, 2015