Giter VIP home page Giter VIP logo

Comments (3)

jmettraux avatar jmettraux commented on June 18, 2024

From man 5 crontab:

     Note: The day of a command's execution can be specified by two fields —
     day-of-month and day-of-week.  If both fields are restricted (i.e. aren't
     *), the command will be run when either field matches the current time.
     For example,

           30 4 1,15 * 5

     would cause a command to be run at 4:30 am on the 1st and 15th of each
     month, plus every Friday.

As seen in gh-5 and gh-35.

See also https://crontab.guru/#0_0_29_2_0,6

Not closing yet, I want to investigate

Fugit::Cron.parse('0 0 11 * 3-6').next_time.strftime('%a, %Y-%m-%d')   # SIC!
  # => "Wed, 2021-12-29"

from fugit.

jmettraux avatar jmettraux commented on June 18, 2024
Fugit::Cron.parse('0 0 11 * 3-6').next_time.strftime('%a, %Y-%m-%d')   # SIC!
  # => "Wed, 2021-12-29"

Same. https://crontab.guru/#0_0_11_*_3-6

I wish you a happy new year!

from fugit.

jmettraux avatar jmettraux commented on June 18, 2024

ref gh-78

from fugit.

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.