Comments (6)
fugit 1.5.1 released https://rubygems.org/gems/fugit/versions/1.5.1
from fugit.
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.
We will make the changes you suggested momentarily, and we will be looking forward to the changes.
Thank you!
from fugit.
I will release 1.5.1 soon. If there is anything wrong with it, please tell me.
from fugit.
@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.
Thanks a lot!!!
from fugit.
Related Issues (20)
- Incorrect #rough_frequency and #brute_frequency for '0 */5 * * *' HOT 1
- cron #next_time loop breaker issue HOT 2
- TZInfo::PeriodNotFound exception when using Time.zone HOT 6
- Incorrect transition into DST for America/New_York HOT 1
- previous_time and next_time produce strange results when combining actual dates with day of week HOT 3
- Support character "W" in the cron expression HOT 1
- Incorrect schedule in certain timezone when using hash cron extention HOT 7
- Fugit::Cron#to_cron_s produces invalid cron string for "wed%2" HOT 7
- Tighten `Fugit.parse` HOT 1
- Fugit.parse_cronish(str) and .do_parse_cronish(str) HOT 5
- strip before parsing? HOT 4
- Fugit::Cron#next_time works incorrectly with "every second day" and "mon-fri" combo HOT 2
- Behaviour change between 1.4.4 and 1.4.5 HOT 8
- be liberal with extra commas
- Implement the & cron modifier HOT 1
- Issue parsing 0/1 compared to * or */1 HOT 4
- Introduce OpenBSD cron ~ notation HOT 1
- Fugit.parse incorrectly parsing am/pm HOT 5
- time computation with monthly duration like "P-2M" is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fugit.