New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
job_type itself shouldn't be parsed #520
Labels
Comments
Hi. I experience the same problem. Sorry for not being more helpful. |
bump. facing the same issue : / |
I found a workaround @IceAge, just add `#{4}.minutes.aog' - crazy I know. every 3.minutes do
rake "db:update_something[#{4}.minutes.ago.utc]"
end |
@robvolk Thanks, good one and it works! |
Per @javan, we'll need to avoid parsing Ruby code inside quotes: #530 (comment) |
This is fixed by This was fixed by #587. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a rake task in schedule.rb like below:
The problem is whenever parse rake task itself and the result would be something like:
which is incorrect. Is this expected behaviour to parse "db:update_something[4.minutes.ago.utc]" into
"db:update_something[240.ago.utc]"? becuase "[4.minutes.ago.utc]" is the parameter of the rake task and I don't want to be parsed.
FYI:
I'm using ruby 2.2.0, whenver 0.9.4 and chronic 0.10.2.
The text was updated successfully, but these errors were encountered: