-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rake Task only runs the first time #51
Comments
That is indeed an error. I'll make an update soon. Thank you for the test environment 👍 |
Ebbe
added a commit
that referenced
this issue
Mar 13, 2023
@travisdock Could you be able to test my pr (#52)? Just update the gem files directly and restart the rails server. |
@Ebbe I updated my Gemfile to use the branch |
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I am trying to use arask to run a simple recurring rake task and it runs the first time but silently fails after that.
I have reproduced the issue in my repo in a branch called
arask-test
https://github.com/travisdock/sum/tree/arask-test
The test branch contains a task (
lib/tasks/test.rake
) that runs every minute. In the output below you can see that it runs the first time (Even though the arask output says 0 runs there is a 'puts' method that you can see prints "You did it"), but after that first run it never prints again even though arask jobs are enqueued and performed.If you would like to run the project to see for yourself it is fully dockerized and you should be able to run it with just
docker compose up
The text was updated successfully, but these errors were encountered: