CharleyVarrick 283 Posted May 4, 2019 Posted May 4, 2019 (edited) I noticed the Alerts area while looking at dashboard. Those repetitive alerts about plugin and application updates. I noticed they were happening before my server wakes automatically at 4:30am. A crude workaround would be to change wake time, but I'd rather have those tasks rescheduled to a proper time. To this end, I checked Scheduled tasks in hope of finding them tasks and simply set them after 4:30am, but I can't find either tasks. Edited May 4, 2019 by jlr19
Happy2Play 9446 Posted May 4, 2019 Posted May 4, 2019 You can update triggers via the API. There is a link at the bottom of the Dashboard. Look at ScheduledTaskService. And the task ids are Check for application updates 1cc2f60a05befec8b1532ac44630a00f Check for plugin updates c27fda37dfb6e39be141191aaa1c3060
CharleyVarrick 283 Posted May 4, 2019 Author Posted May 4, 2019 Hi Happy, I found ScheduledTaskService, but I have no idea how to update triggers
Happy2Play 9446 Posted May 4, 2019 Posted May 4, 2019 This should set the task for 5am, you would need to apply it for each id in /ScheduledTasks/{Id}/Triggers. [ { "Type": "DailyTrigger", "TimeOfDayTicks": 180000000000, } ]
CharleyVarrick 283 Posted May 4, 2019 Author Posted May 4, 2019 (edited) I now have a much more serious problem on hand, Emby has become totally unaccessible. The Emby icon shows up in syst tray like usual, Context menu Restart emby has no effect, browse library/configure Emby dashboard both give a connection has been reset blank page. Rebooting doesn't fix it. embyserver-63692559307.txt Edited May 4, 2019 by jlr19
CharleyVarrick 283 Posted May 4, 2019 Author Posted May 4, 2019 I have resolved to uninstall/reinstall Emby, I will advise of outcome.
Luke 40111 Posted May 4, 2019 Posted May 4, 2019 Yes you somehow managed to create a scheduled task configuration that is preventing the server from starting.
Happy2Play 9446 Posted May 4, 2019 Posted May 4, 2019 (edited) All you should have to do is remove the custom scheduled task from "\Emby-Server\programdata\config\ScheduledTasks" and restart/start Emby. Edited May 4, 2019 by Happy2Play
CharleyVarrick 283 Posted May 4, 2019 Author Posted May 4, 2019 (edited) Good to know albeit slightly late, not that I should ever tamper with this again. I have no grudge whatsoever Happy, rest assured. Well maybe a little about the api webpage, which is not the most user-friendly thing out there, this from a guy who's been working the last 25 years in the computer business,but no, not as a coder. I never had the need to reinstall Emby in the 3 years I've been heavily using it. A fresh install might give it a shot in the arm anyway, and last but not least, even with this incident, all that's lost is some time. Emby still holds an excellent batting average, as far as reliability goes. C'est la vie Edited May 4, 2019 by jlr19
Happy2Play 9446 Posted May 4, 2019 Posted May 4, 2019 Here you go, all you need to do is place these in your \Emby-Server\programdata\config\ScheduledTasks" folder and restart Emby. These should run the task at 5am. and startup. ScheduledTasks.zip
CharleyVarrick 283 Posted May 5, 2019 Author Posted May 5, 2019 (edited) Yes you somehow managed to create a scheduled task configuration that is preventing the server from starting. Hi Luke, Emby keeps kept warning me its unsuccessful in performing updates; It was likely programmed to do just that between 3 and 4am-ish. While this default choice might suit many (if not most) users, common sense dictate it can't be perfect for everyone. I believe it should be easier and safer to set our preferred time for scheduled scans, or any other maintenance. How about adding this option somewhere within Emby's setting: If Emby Server is not set to run 24/7, click here. Then all that's needed is a graphical way to input the daily/hourly period the server is expected to be unavailable. Here's a quick mockup. Edited May 5, 2019 by jlr19
CharleyVarrick 283 Posted May 5, 2019 Author Posted May 5, 2019 Sorry, my bad. I wrote "Emby keeps warning me", but meant to say: "Emby kept warning me".
Luke 40111 Posted May 5, 2019 Posted May 5, 2019 Right, I think that was because of my explanation in post #8.
CharleyVarrick 283 Posted May 5, 2019 Author Posted May 5, 2019 ...hence my suggestion/feature request...post #12
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now