Giter VIP home page Giter VIP logo

Comments (5)

Hexagon avatar Hexagon commented on June 13, 2024 1

Will have a look at that πŸ‘

from croner.

SkylineAventador avatar SkylineAventador commented on June 13, 2024

Sorry for off-top but just want to ensure: nicknames such as @Yearly are hard bounded to the preset value - 1.1.xxxx 00:00 and can’t be parametrized? Also are there any differences between @Yearly and @annualy? Thank you. 😊

from croner.

Hexagon avatar Hexagon commented on June 13, 2024

Np - exactly, have a look at the bottom of this page https://croner.56k.guru/usage/pattern/

By the way, does 5-6#L work instead of L5,6 ?

Edit: Yeah, seems like a documentation issue since the introduction of # in version 7.0.0. This do work:

console.log((new Cron("0 0 0 * * 5-6#L")).nextRuns(10));
[
  2023-10-27T00:00:00.000Z,
  2023-10-28T00:00:00.000Z,
  2023-11-24T00:00:00.000Z,
  2023-11-25T00:00:00.000Z,
  2023-12-29T00:00:00.000Z,
  2023-12-30T00:00:00.000Z,
  2024-01-26T00:00:00.000Z,
  2024-01-27T00:00:00.000Z,
  2024-02-23T00:00:00.000Z,
  2024-02-24T00:00:00.000Z
]

from croner.

Hexagon avatar Hexagon commented on June 13, 2024

Fixed in dev through 92069e2

from croner.

SkylineAventador avatar SkylineAventador commented on June 13, 2024

Appreciate your response. Have a nice day πŸ‘‹

from croner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.