Skip to content
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

SchedulGhost #425

Open
MP-Munich opened this issue Feb 9, 2024 · 1 comment
Open

SchedulGhost #425

MP-Munich opened this issue Feb 9, 2024 · 1 comment
Labels

Comments

@MP-Munich
Copy link

Describe the bug
The schedule form doesn't allow adding periodical schedules for a time span.

E. g.: A schedule for a recurring event every second for 30 seconds:

image

Plugin version
0.1.19

EventGhost version
0.5.0 RC6

@topic2k, is this as designed?

@MP-Munich MP-Munich added the bug label Feb 9, 2024
@ThomasBott
Copy link
Contributor

Yes, that's by design.
Span has a different meaning than you expect.
It usually triggers two events for a schedule, one "start" event at the given time, and one "end" event some time from the start event.
If you would configure it as in your example, it would trigger the start event every second and then the end event 30 seconds later. But in the time it already triggered 30 start events; you would first get 30 start events followed by 30+ end events which isn't very useful.

What you probably want to do is to create your schedule that periodically runs every second with only a start event (no span) and then a 2nd schedule that disables the first schedule after 30 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants