Socket
Socket
Sign inDemoInstall

agenda

Package Overview
Dependencies
180
Maintainers
9
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
9Next

5.0.0

Diff

Changelog

Source

5.0.0 (2020-12-06)

⚠ BREAKING CHANGES

  • Switching from ncb000gt/node-cron to harrisiirak/cron-parser for cron-pattern parsing.

    Previously month was 0-based (0=January). Going forward standard Unix pattern is used, which is 1-based (1=January).

    Please update existing cron-patterns that specify a month (4th position of a pattern). The month is now 1 - 12

    1 = January

    2 = February

    3...

    | Example | Execute on 1st of January | |---------|---------------------------| | Old | 0 0 1 0 * | | New | 0 0 1 1 * |

    old Cron patterns

    * * * * * *
    | | | | | |
    | | | | | +-- Year              (range: 1900-3000)
    | | | | +---- Day of the Week   (range: 1-7, 1 standing for Monday)
    | | | +------ Month of the Year (range: 0-11) NOTE: Difference here
    | | +-------- Day of the Month  (range: 1-31)
    | +---------- Hour              (range: 0-23)
    +------------ Minute            (range: 0-59)
    

    new cron patterns

    * * * * * *
    | | | | | |
    | | | | | +-- Year              (range: 1900-3000)
    | | | | +---- Day of the Week   (range: 1-7, 1 standing for Monday)
    | | | +------ Month of the Year (range: 1-12) NOTE: Difference here
    | | +-------- Day of the Month  (range: 1-31)
    | +---------- Hour              (range: 0-23)
    +------------ Minute            (range: 0-59)
    

Co-authored-by: Aras Abbasi a.abbasi@cognigy.com

  • switching from cron to cron-parser (#16) (e5c3bf1)
koresar
published 4.4.0 •

koresar
published 4.3.0 •

koresar
published 4.2.1 •

koresar
published 4.2.0 •

koresar
published 4.1.3 •

Changelog

Source

4.1.3 (2020-10-30)

Bug Fixes

  • only unlock jobs which have a nextRunAt jobs on shutdown (291f16e)
  • simplify default values (35d5424)
koresar
published 4.1.2 •

Changelog

Source

4.1.2 (2020-10-25)

Bug Fixes

  • isRunning for non job processor calls (a5bb965)
  • wait for start of test job (413f797)
koresar
published 4.1.0 •

Changelog

Source

4.1.0 (2020-10-25)

Features

  • isRunning querys database again if called by client (1aaaa61)

Bug Fixes

  • job processor handling for recurring jobs could fill up queue and block processing (54bc53c)
  • job processor localQueueProcessing flag (413f673)
  • rename err to error, fix typing of DefinitionProcessor, use debug ins… (#9) (39b598e)
  • use isNaN check in isValidDate (#10) (3bc2e30)
simison
published 4.0.1 •

simison
published 4.0.0 •

2345
9Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc