Giter VIP home page Giter VIP logo

Comments (6)

jmettraux avatar jmettraux commented on June 7, 2024 3

fugit 1.5.1 released https://rubygems.org/gems/fugit/versions/1.5.1

from fugit.

jmettraux avatar jmettraux commented on June 7, 2024 2

I can reproduce the issue as well.

234143 _ yawara o ~/w/fugit (master|*) > chruby 2.7
ruby set to /home/jmettraux/.rubies/ruby-2.7.1/
234146 _ yawara o ~/w/fugit (master|*) > bxr t.rb
#<EtOrbi::EoTime:0x0000064ddd4d4578 @seconds=1631660400.0, @zone=#<TZInfo::DataTimezone: Asia/Tokyo>, @time=nil>
"2021-09-15 08:00:00 +0900"
234157 _ yawara o ~/w/fugit (master|*) >
234159 _ yawara o ~/w/fugit (master|*) >
234159 _ yawara o ~/w/fugit (master|*) > export TZ="America/Santiago"
104204 _ yawara o ~/w/fugit (master|*) > bxr t.rb
Traceback (most recent call last):
        3: from t.rb:5:in `<main>'
        2: from /home/jmettraux/w/fugit/lib/fugit/cron.rb:236:in `next_time'
        1: from /home/jmettraux/w/fugit/lib/fugit/cron.rb:236:in `loop'
/home/jmettraux/w/fugit/lib/fugit/cron.rb:238:in `block in next_time': too many loops for "0 8 15 * *" #next_time, breaking, cron expression most likely invalid (Feb 30th like?), please fill an issue at https://git.io/fjJC9 (RuntimeError)
104207 _ yawara o ~/w/fugit (master|*) [1] > rv
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-openbsd6.7]
104211 _ yawara o ~/w/fugit (master|*) > uname -a
OpenBSD yawara 6.9 GENERIC.MP#4 amd64
104307 _ yawara o ~/w/fugit (master|*) > bundle list
Gems included by the bundle:
  * chronic (0.10.2)
  * concurrent-ruby (1.1.9)
  * diff-lcs (1.4.4)
  * et-orbi (1.2.4)
  * fugit (1.5.0)
  * raabro (1.4.0)
  * rspec (3.10.0)
  * rspec-core (3.10.1)
  * rspec-expectations (3.10.1)
  * rspec-mocks (3.10.2)
  * rspec-support (3.10.2)
  * tzinfo (2.0.4)
Use `bundle info` to print more detailed information about a gem

It doesn't happen in the Tokyo timezone, but in the America/Santiago timezone. Ruby 2.7 or Ruby 3.0.
Happens with fugit 1.5.0 and 1.4.5. Doesn't happen with fugit 1.3.9 (see fugit/versions).

@Ggallardoh Thanks for reporting that. I will fix that tomorrow, hopefully. For now you could use fugit 1.3.9 or switch from "0 8 15 * *" to "0 11 15 * * UTC" temporarily.

from fugit.

Ggallardoh avatar Ggallardoh commented on June 7, 2024

We will make the changes you suggested momentarily, and we will be looking forward to the changes.
Thank you!

from fugit.

jmettraux avatar jmettraux commented on June 7, 2024

I will release 1.5.1 soon. If there is anything wrong with it, please tell me.

from fugit.

jmettraux avatar jmettraux commented on June 7, 2024

@javix70 @Ggallardoh @BMunozKlerman Please remember that emojis trigger no notifications for project maintainers. Please consider starring this project if you appreciate my work and my help.

from fugit.

jmettraux avatar jmettraux commented on June 7, 2024

Thanks a lot!!!

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.