Dzmitry Plashchynski
9f1bd7bf72
Merge branch 'master' into patch-1
2022-05-29 20:35:27 +03:00
Dzmitry Plashchynski
5831e040fc
Update Gemfile.lock
2022-05-29 20:33:12 +03:00
Dzmitry Plashchynski
258b258003
Merge pull request #91 from cseelus/convert-to-engine-rspec
...
Convert to Rails engine
2022-05-29 20:32:11 +03:00
Dzmitry Plashchynski
333f18d89b
Merge branch 'master' into convert-to-engine-rspec
2022-05-29 20:32:06 +03:00
Dzmitry Plashchynski
be1ecf2995
Merge pull request #90 from cseelus/ruby-3-compatibility
...
Use Ruby 3 conversion kwargs
2022-05-29 20:28:39 +03:00
Dzmitry Plashchynski
3d7267d97e
Merge pull request #74 from muZk/patch-1
...
fix: rails 4.0.x
2022-05-29 20:28:10 +03:00
Dzmitry Plashchynski
9e8a6f0e05
Update dependencies
2022-05-29 20:24:45 +03:00
Dzmitry Plashchynski
2232671d86
Merge branch 'master' of https://github.com/plashchynski/crono
2022-05-29 20:22:55 +03:00
Dzmitry Plashchynski
8ea181397e
Bundle with bundler 2
2022-05-29 20:22:19 +03:00
Dzmitry Plashchynski
e500738fd4
Merge pull request #97 from plashchynski/dependabot/bundler/activesupport-7.0.3
...
Bump activesupport from 5.0.0.1 to 7.0.3
2022-05-29 19:46:14 +03:00
Dzmitry Plashchynski
4279cbe27a
Merge pull request #98 from plashchynski/dependabot/bundler/activerecord-7.0.3
...
Bump activerecord from 5.0.0.1 to 7.0.3
2022-05-29 19:46:02 +03:00
Dzmitry Plashchynski
630137d575
Merge pull request #99 from plashchynski/dependabot/bundler/rack-2.2.3.1
...
Bump rack from 2.2.3 to 2.2.3.1
2022-05-29 19:45:45 +03:00
Dzmitry Plashchynski
ae78de420f
Update crono.gemspec
2022-05-29 19:44:44 +03:00
Dzmitry Plashchynski
e6f5e4299b
Update README.md
2022-05-29 19:07:44 +03:00
dependabot[bot]
a6f8354e89
Bump rack from 2.2.3 to 2.2.3.1
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.3 to 2.2.3.1.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/2.2.3...2.2.3.1 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-27 17:59:38 +00:00
dependabot[bot]
610046d0fe
Bump activerecord from 5.0.0.1 to 7.0.3
...
Bumps [activerecord](https://github.com/rails/rails ) from 5.0.0.1 to 7.0.3.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.3/activerecord/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v5.0.0.1...v7.0.3 )
---
updated-dependencies:
- dependency-name: activerecord
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-20 09:42:14 +00:00
dependabot[bot]
0391dac2e9
Bump activesupport from 5.0.0.1 to 7.0.3
...
Bumps [activesupport](https://github.com/rails/rails ) from 5.0.0.1 to 7.0.3.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.3/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v5.0.0.1...v7.0.3 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-20 09:42:13 +00:00
Dzmitry Plashchynski
a74da12862
Merge pull request #96 from plashchynski/dependabot/bundler/sinatra-2.2.0
...
Bump sinatra from 1.4.7 to 2.2.0
2022-05-20 12:41:16 +03:00
Dzmitry Plashchynski
7573109519
Update README.md
2022-05-20 12:40:54 +03:00
dependabot[bot]
a8e80b6160
Bump sinatra from 1.4.7 to 2.2.0
...
Bumps [sinatra](https://github.com/sinatra/sinatra ) from 1.4.7 to 2.2.0.
- [Release notes](https://github.com/sinatra/sinatra/releases )
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinatra/sinatra/compare/v1.4.7...v2.2.0 )
---
updated-dependencies:
- dependency-name: sinatra
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-03 21:13:19 +00:00
Matthäus J. N. Beyrle
0af1645456
update rake example
2021-02-19 14:33:46 +01:00
Chris Seelus
ee79596509
Cleanup and get rspec to run again
2021-02-11 17:37:10 +01:00
Chris Seelus
6fee31fc81
Fix tests
2021-02-11 01:59:28 +01:00
Chris Seelus
551572fe56
Move CronoJob to models dir
2021-02-11 01:59:10 +01:00
Chris Seelus
d53520bbf0
Use Rails plugin generator and adapt
2021-02-10 22:10:43 +01:00
Chris Seelus
87b5726919
Use Ruby 3 conversion kwargs
2021-02-10 16:57:48 +01:00
Dzmitry Plashchynski
9b9193e1c8
Merge pull request #80 from andrisbriedis/master
...
Fixed race condition when starting jobs
2019-07-10 14:15:04 +03:00
Andris Briedis
6ca28ae01d
Fixed race condition when starting jobs
...
Calling Time.zone.now in the if statement and while calculating sleep delay sometimes resulted in an exception with message "time interval must be positive".
This happened if job was about to start and we needed to sleep for a really short period of time + server was under high load.
First the application was checking if difference between current time and scheduled run time was positive.
If the expression returned true, sleep was called, but required delay was calculated once again and could result in a negative value being passed to the sleep function.
2019-07-10 11:43:04 +03:00
Nicolás Gómez
11350e83d9
fix: rails 4.0.x
...
Patch time_atts when `compact` is not defined in Hash class.
2018-04-11 10:50:45 -03:00
Dzmitry Plashchynski
3344c431a9
Merge pull request #66 from redrick/master
...
Add migration version for Rails 5 and above
2017-10-19 21:19:48 +03:00
Andrej Antas
7c8246087c
Add migration version for Rails 5 and above
...
Fixes #65
2017-10-16 00:09:59 +02:00
Dzmitry Plashchynski
4136a5af1a
Update LICENSE
2017-03-28 18:31:21 +03:00
Dzmitry Plashchynski
5b72e08222
Merge pull request #59 from haoxilu/master
...
rails timezone support
2017-03-10 13:58:01 +02:00
Dzmitry Plashchynski
5c0c2ee195
Update .travis.yml
2017-03-10 13:51:35 +02:00
haoxilu
d72a2d2b07
write some annotation
2017-03-07 23:02:42 +08:00
haoxilu
258052b852
✨ rails timezone support
2017-02-24 09:05:43 +08:00
Dzmitry Plashchynski
a7488df85b
Bump v1.1.2
v1.1.2
2016-12-02 03:42:32 +02:00
Dzmitry Plashchynski
c777933044
Fix PG text limit. Closes #54
2016-12-02 03:41:38 +02:00
Dzmitry Plashchynski
0c2f52d9bc
Bump 1.1.1
v1.1.1
2016-11-30 01:06:29 +02:00
Dzmitry Plashchynski
33e9794621
Last log instead of Log since it can be truncated
2016-11-30 01:05:47 +02:00
Dzmitry Plashchynski
c336b6d00b
Fix empty job_options error
2016-11-30 00:52:54 +02:00
Dzmitry Plashchynski
1cf37ee30f
Bump 1.1.0
v1.1.0
2016-11-30 00:43:52 +02:00
Dzmitry Plashchynski
137dfe6d19
Fix MySQL default text size limit
2016-11-30 00:16:58 +02:00
Dzmitry Plashchynski
14c3e3162e
Log truncating Close #41
2016-11-30 00:11:56 +02:00
Dzmitry Plashchynski
d1e15b8537
Ignore .byebug_history
2016-11-30 00:01:54 +02:00
Dzmitry Plashchynski
f5d65b6cc7
Job options
2016-11-29 15:41:39 +02:00
Dzmitry Plashchynski
64dde82342
Update gems
2016-11-29 15:39:49 +02:00
Dzmitry Plashchynski
e331490c48
Update ruby versions for travis
2016-11-29 15:35:09 +02:00
Dzmitry Plashchynski
8a61e65963
Merge pull request #53 from acolyer/same_day
...
schedule on: today if at: time not passed
2016-11-16 23:25:56 +02:00
Adrian Colyer
3f9ea8350d
schedule today if at: time not passed
2016-11-06 15:47:50 +00:00