Replies: 1 comment
-
Hello, AFAIK you cannot indeed change a schedule’s period at runtime, but you can work around this by generating messages yourself using a As I’m not entirely sure to understand your use-case, maybe check delayed messages too? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm working on an app on which users can set schedules. For example after certain events they should get a message that x and y happened.
Now my next type of schedule is a time interval. So users can set a time (planning to use the DateIntervalType) after which they should be notified that the schedule is overdue. I was looking for ways to solve this is a good way. The messenger component clearly wasn't good for it. So I found out about the scheduler component. It looks and sounds so great, it even talks about 'dynamic' stuff.
So I tried it out, but it clearly became visible this was not dynamic at all. All you can do is set a predetermined interval after which something should happen. This really does not work for me.
What I am looking for is something that I can schedule. So it has to be dynamic. A user can either set it to 1,2,3 days, 2 months, anything. That next moment in time should trigger something so I can alert the users that it's time for the schedule. Once the user have acknowledged the schedule, only then should it start again at the previously given interval. So it's like a periodic interval, but should not repeat until the user has marked it as done.
Also if the user marks it as done before the end, it should remove the old schedule and create a new one with the interval given previously, but added at the moment the user marked it done.
I'm afraid the scheduler component isn't a the right fit for me, although it sounds good. Anyone that can point me in the right direction? I'm on a host with cronjobs only, so no fancy deamons and such.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions