-
Notifications
You must be signed in to change notification settings - Fork 29
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
Execs are not scheduled by default #6
Comments
Hi Matthias, thanks raising this. I'm currently travelling and will look into it in about a week from now. |
I just tried it and it works for me. The default is one minute, i.e. you have to wait one minute after starting the beat until you see any output. |
Hi Matthias, did you had a chance to check again of the scheduler is triggered after a minute has passed? |
Hi Christian, I'm sorry for replying this late, I somehow haven't seen the previous github notifications. I can confirm that having config execbeat:
execs:
-
command: echo
args: "hello"
#cron: "@every 10s" log
So the poller started at 08:16:03 but did not emit any message until 08:18:03. So I waited two minutes. while with config execs:
-
command: echo
args: "hello"
cron: "@every 10s" log shows
The poller started at 08:19:05 and emitted the first message at 08:19:15. That's exactly 10 seconds after the start as configured. I'm running this example on a debian64 vagrant box (for development purposes). Pretty standard. Not sure what else I can provide to help you to dig into the issue. If there's something, please just let me know. Thank you and best regards, matthias |
Hi Matthias, no problem ;-) |
I also tried the tar.gz version on Ubuntu and also there the default triggering is not working. On a mac it works without any issues. Need to further look into this. |
I finally found the issue. It will be fixed with the next version 3.0.0 which I plan to release in a few days. |
Just released version 3.0.0. Please note the release notes as there are some configuration changes. |
The documentation states that
https://github.com/christiangalsterer/execbeat/blob/master/execbeat.yml
Using this configuration did not schedule any execs. Only after setting the
cron
value specifically liketriggered the execs as expected.
Occurred with execbeat v2.1.1 and v2.2.0 using the amd64.deb package on Linux.
As most people will try first using the provided configuration, you might consider fixing this. It took me a while to figure this out.
Keep up the great work!
thanks a lot
Matthias
The text was updated successfully, but these errors were encountered: