-
Notifications
You must be signed in to change notification settings - Fork 146
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
Wildcards for time scheduler #124
Comments
I'm kind of torn about this. I don't like the idea of wildcards, the logic behind may very well become pretty ugly. When this idea first came up I was thinking more something like this:
(600 would be 10 minutes, should match your example) |
Hm.. What about using crontab-style schedule? |
i"m not a big fan of cron, nor it's syntax. i'm not a big fan of external dependencies, either. you need to think ahead: how would you implement a frontend for this? |
This would accomplish my task perfectly. I like it. |
While i agree its not the prettiest, it is flexible, widely used and known.
Me neither, but we cannot build every wheel from scratch. We already need quite a few different projects for reasonable feature set, and this one is python only - no compiling needed.
So far what i saw was just text area with validation. Yes, its crude. But why not put 2 ways to configure it in GUI? Basic with some dropdowns/whatever and advanced with text field giving full flexibility. |
It is common knowledge across unix sysadmin folks. While I would appreciate it if there was more of those around, they are still a minority, and certainly not everyone using OpenWebRX would know it.
No, but every external dependency needs to be taken care of in the form of packages, installations routines and stuff. Hence I'd rather avoid them.
So far, nothing has been implemented, but I'd prefer a frontend that doesn't have an "advanced" mode, especially if it requires a special skillset. One more thing: cron scheduler is instantaneous in execution, i.e. it fires a command at given times. The selection of bands at hand here is rather a range of time, that's also why the original scheduler has the "xxxx-yyyy" syntax. I'm not saying it's impossible to switch, but the difference in approach certainly opens up its own set of edge cases. |
As this is published python package, there is no need for any routines and stuff. It will be handled by pythons packet manager when installing openwebrx package.
IMO current approach with ranges introduces unnecessary verbosity and places for mistakes. |
There's a total of four installations methods, none of them are based on the python package manager (neither pip nor easy_install).
That's just one way to see it. It certainly makes it easier to pick the scheduling back up once the user has disconnected. |
@jketterl 's idea looks best to me: As much as I like CRON approach, it introduces the possibility to create overlapping scheduling conflicts from within the same profile. Same applies to wildcards. The cyclical scheduling type keeps errors from slipping in. |
Right now I have the following scheduler set for some YouLoop antenna testing...
For a given test session, this seems to work very well, pskreporter properly reveals spots showing up in the correct band vs. time.
Is there a possibility of using some sort of wild card that allows for this...
...so I don't have to define the entire 24 hour block if I want this hourly band-pattern to run 24/7?
Consider this merely a feature request.
Thanks.
The text was updated successfully, but these errors were encountered: