-
Notifications
You must be signed in to change notification settings - Fork 70
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
Kuruko2 schedule job commands sometime runs twice #122
Comments
I never see such situation... Kuroko2 currently does not support Rails 5.2 series, so you cannot use Kuroko2 with Rails 5.2.1. |
For you question
|
Please check this one, too. |
I read pasted logs, It seems that more than one job-scheduler is running
Base on your comment (#122 (comment)), It may fail to restart job scheduler, but just launch one more job scheduler. we using systemd to manage these processes, except executor which need to be restarted when it's not working. |
@riseshia san Thanks for the response,
Yes we just launch 1 job in scheduler and it will only run everyday at 3am
Yes we used this systemd file in our server and we also do have a cronjob to restart the services BTW. may we know the versions of rails, ruby and web server(what you used) you guys running for this? |
Hi @riseshia san I just want to confirm this if this is another issue in kuroko2. I'm currently downgraded my rails version. As I can see there's a new table Sorry for too much question. TIA |
When running testing executing a simple command
execute: node -v
and scheduled it to run every minute, there are instance that the job runs twice. please refer to the attached images for more detailsInfo:
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
Rails 5.2.1
rvm 1.29.4 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
node v8.4.0
RAILS_ENV=production
NUM_OF_WORKERS=1
The text was updated successfully, but these errors were encountered: