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
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
Dzmitry Plashchynski
1d9d30ef89
Fix issue link
2016-09-22 18:39:56 +03:00
Dzmitry Plashchynski
72810a95ae
Add information about the showexceptions issue. Closes #1055
2016-09-22 18:38:44 +03:00
Dzmitry Plashchynski
4401c6bba4
Merge branch 'master' of github.com:plashchynski/crono
2016-09-22 18:24:56 +03:00
Dzmitry Plashchynski
e7df4bb067
Fix crash when no jobs defined
2016-09-22 18:24:46 +03:00
Dzmitry Plashchynski
935bdebd84
Merge pull request #51 from pachacamac/patch-1
...
deprecate need to config your app name.
2016-09-22 18:08:51 +03:00
Marc
b22845cba6
deprecate need to config your app name.
...
Instead of `<AppName>::Application.load_tasks` the same can be achieved by `Rails.app_class.load_tasks`, therefore not requiring the user to configure the AppName. Less margin for errors :)
2016-09-17 12:38:48 +02:00
Dzmitry Plashchynski
77481f1143
Fix asterisk
2016-07-02 21:27:55 +03:00
Dzmitry Plashchynski
42dc1bbc4f
Remove gitter
2016-07-02 21:23:34 +03:00
Dzmitry Plashchynski
63c52896f7
Since Rails 5 requires Ruby 2.2.2 or newer.
2016-07-01 04:46:02 +03:00
Dzmitry Plashchynski
977f49a3a4
Rails 3 is not supported anymore
2016-07-01 04:40:00 +03:00
Dzmitry Plashchynski
7155ce797c
Bump 1.0.3
v1.0.3
2016-07-01 04:36:45 +03:00
Dzmitry Plashchynski
d18866564a
Update change log
2016-07-01 04:35:56 +03:00
Dzmitry Plashchynski
b39be015b1
Rails 5 supports "week" in time notations
2016-07-01 04:35:09 +03:00
Dzmitry Plashchynski
51c914ea8a
Tested on Rails 5, closes #49
2016-07-01 04:04:48 +03:00
Dzmitry Plashchynski
ac71db0d68
Added Known Issues section to Readme. Closes #43
2016-06-26 15:50:09 +03:00
Dzmitry Plashchynski
4e3ca885a8
Fix table_name_suffix/prefix issue. Closes #33
v1.0.2
2016-06-26 02:12:04 +03:00
Dzmitry Plashchynski
8c998794b4
Bump 1.0.1
v1.0.1
2016-06-24 13:36:20 +03:00
Dzmitry Plashchynski
de070d5bfa
Fix job saving
2016-06-24 13:33:57 +03:00
Dzmitry Plashchynski
e1c143db60
Fix typo
2016-06-24 02:43:15 +03:00
Dzmitry Plashchynski
ad6d6cf9d6
Exclude ruby-2.3 from osx since it isn't installed on Travis
2016-06-24 02:41:10 +03:00
Dzmitry Plashchynski
01cc0864f2
Fix README grammar
2016-06-24 02:23:12 +03:00
Dzmitry Plashchynski
87deadf00e
Update gems
2016-06-24 02:17:29 +03:00
Dzmitry Plashchynski
3e5ff2871d
Add ruby 2.3 to test on Travis
2016-06-24 02:16:24 +03:00
Dzmitry Plashchynski
b2f107f83f
Fix Travis build
2016-06-24 02:10:13 +03:00
Dzmitry Plashchynski
33867f1a25
Merge pull request #47 from adamico/master
...
Fix for Rails 5
2016-04-18 03:00:35 +03:00
Andrea D'Amico
f240036fcd
Fix for Rails 5
2016-04-14 16:16:05 +02:00
Dzmitry Plashchynski
fa69ed0fd9
Bump version to 1.0.0
v1.0.0
2016-03-30 16:41:31 +03:00