PSA: EPG123 update task
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html ★
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html ★
- garyan2
- Posts: 7480
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
PSA: EPG123 update task
To lessen the burden on Schedules Direct's servers, please "randomize" you scheduled task times. Spreading everyone's update times over the day will reduce the peak load and allow them to scale better. It will also avoid issues/timeouts when you try to update your schedule.
Everyone appears to like updating at 00:00 every night?
Everyone appears to like updating at 00:00 every night?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 2841
- Joined: Sun Jun 02, 2013 9:44 pm
- Location:
- HTPC Specs:
There is no real reason to use 00:00. You should change both the hour AND THE MINUTE. Those that do change it will most likely change it to execute on the hour which is not as bad as everyone doing it at the same time, but still not ideal.
So use times like: 1:23, 2:47, 6:13, 17:05, etc. NOT: 00:00, 1:00, 2:00, 17:00, etc.
It would be a good idea to change EPG123 to make the default be a randomized time (and NOT ever choose 00 for the minutes in that default time). Probably also want to avoid prime time, so perhaps have the hour be a random number between 0 and 17 and minute be between 10 and 55. Of course allow the user to change it, but I am sure the majority of people don't bother changing it.
So use times like: 1:23, 2:47, 6:13, 17:05, etc. NOT: 00:00, 1:00, 2:00, 17:00, etc.
It would be a good idea to change EPG123 to make the default be a randomized time (and NOT ever choose 00 for the minutes in that default time). Probably also want to avoid prime time, so perhaps have the hour be a random number between 0 and 17 and minute be between 10 and 55. Of course allow the user to change it, but I am sure the majority of people don't bother changing it.
Last edited by Space on Sat Jan 04, 2020 1:17 am, edited 1 time in total.
- garyan2
- Posts: 7480
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
Yah, I already thought of just randomizing the time if a task doesn't already exist. That may help, along with a tooltip on the time entry, to choose a random time.
Just as an example, I update at 04:22 for my 28 OTA stations and the downloading and file creation takes on average 20 seconds.
Just as an example, I update at 04:22 for my 28 OTA stations and the downloading and file creation takes on average 20 seconds.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 2841
- Joined: Sun Jun 02, 2013 9:44 pm
- Location:
- HTPC Specs:
It will DEFINITELY help to randomize it. Adding a tooltip is a good idea, but it will do very little to resolve the problem (at least in my opinion).
- plplplpl
- Posts: 31
- Joined: Mon Dec 31, 2012 5:45 pm
- Location: Montreal
- HTPC Specs:
Agree, randomized should be the default.
-
- Posts: 101
- Joined: Sun Jul 31, 2016 11:55 pm
- Location:
- HTPC Specs:
Has Schedules Direct shared any of their statistics on times with the heaviest and lightest loads?
- garyan2
- Posts: 7480
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
@rkulagow Comment?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 101
- Joined: Sun Jul 31, 2016 11:55 pm
- Location:
- HTPC Specs:
Can you setup the task to use a random delay? I've manually altered mine to do so.
-
- Posts: 178
- Joined: Thu Feb 04, 2016 1:53 am
- Location:
- HTPC Specs:
-
- Posts: 178
- Joined: Thu Feb 04, 2016 1:53 am
- Location:
- HTPC Specs:
That might be a feature for EPG123... maybe the new task could default to a random time for each user? (The user could adjust it manually, of course.)mwpeterson wrote: ↑Sat Jan 04, 2020 1:31 am Can you setup the task to use a random delay? I've manually altered mine to do so.
-
- Posts: 101
- Joined: Sun Jul 31, 2016 11:55 pm
- Location:
- HTPC Specs:
Yep. If you use Task Scheduler to edit the trigger time, there is an option under advanced settings to Delay task for up to (random delay). You can set this to up to 30 seconds, 1 minute, 30 minutes, 1 hour, 8 hours , or 1 day. Maybe Gary could add this in to randomize times.tonywagner wrote: ↑Sat Jan 04, 2020 3:18 amThat might be a feature for EPG123... maybe the new task could default to a random time for each user? (The user could adjust it manually, of course.)mwpeterson wrote: ↑Sat Jan 04, 2020 1:31 am Can you setup the task to use a random delay? I've manually altered mine to do so.
- garyan2
- Posts: 7480
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
The pushback I will get on that is it may mess with some folks Power/Sleep settings and miss an update. I guess I could try it out... see what it does.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 101
- Joined: Sun Jul 31, 2016 11:55 pm
- Location:
- HTPC Specs:
Hmm, it'll be interesting to see how WIndows handles the wake time and then a delayed task.
-
- Posts: 2841
- Joined: Sun Jun 02, 2013 9:44 pm
- Location:
- HTPC Specs:
I would personally like to have more control over when the process starts (although I could manually edit the task, I suppose)
-
- Posts: 101
- Joined: Sun Jul 31, 2016 11:55 pm
- Location:
- HTPC Specs:
I set the task to start at 5:00 with a random delay of up to an hour. The computer woke at 5:26 and the task ran at 5:27. So that went well.
- garyan2
- Posts: 7480
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
That's good. Everything I found in my short search could indicate the computer would wake shortly before 5:00 but not kick off the task actions until a random time. This is certainly an option to think about.mwpeterson wrote: ↑Sat Jan 04, 2020 4:24 pm I set the task to start at 5:00 with a random delay of up to an hour. The computer woke at 5:26 and the task ran at 5:27. So that went well.
Thanks.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 1
- Joined: Thu Jan 02, 2020 10:01 pm
- Location:
- HTPC Specs:
Hi, just a thought/sugestion . .
since the updates retrieve 14 days of guide data, maybe also create the epg123 task on install to execute once per week (on the day of the week that user installed epg123), vs executing & updating daily. Then any users that want or need daily update, can easily edit the task later to trigger & update daily.
Also, Thanks for all your efforts creating & maintaining epg123. I just installed it 2 days ago w/o any isssues & it works great
since the updates retrieve 14 days of guide data, maybe also create the epg123 task on install to execute once per week (on the day of the week that user installed epg123), vs executing & updating daily. Then any users that want or need daily update, can easily edit the task later to trigger & update daily.
Also, Thanks for all your efforts creating & maintaining epg123. I just installed it 2 days ago w/o any isssues & it works great
-
- Posts: 2841
- Joined: Sun Jun 02, 2013 9:44 pm
- Location:
- HTPC Specs:
In my opinion, this should not be done without a good reason.garyan2 wrote: ↑Sat Jan 04, 2020 4:37 pmThat's good. Everything I found in my short search could indicate the computer would wake shortly before 5:00 but not kick off the task actions until a random time. This is certainly an option to think about.mwpeterson wrote: ↑Sat Jan 04, 2020 4:24 pm I set the task to start at 5:00 with a random delay of up to an hour. The computer woke at 5:26 and the task ran at 5:27. So that went well.
Thanks.
The goal is to have different users connect to SD at different times. Randomizing each users default start time will accomplish this without adding the additional complication of having the system connect at unexpected times every day.
You want to avoid the "I set it to connect at 18:40 and it didn't do it until 19:39, now I missed the schedule change for my 7pm show!" complaints. It's not usually a good idea to have something work unlike most would naturally expect it to work.
Again, I advise against this. Just because you have two weeks of data in the guide, does not mean it is accurate data. Updating at least once per day assures that you will have the most up to date data for the current day.drgawd wrote: ↑Sat Jan 04, 2020 5:09 pm Hi, just a thought/sugestion . .
since the updates retrieve 14 days of guide data, maybe also create the epg123 task on install to execute once per week (on the day of the week that user installed epg123), vs executing & updating daily. Then any users that want or need daily update, can easily edit the task later to trigger & update daily.
Also, Thanks for all your efforts creating & maintaining epg123. I just installed it 2 days ago w/o any isssues & it works great
Now, if you want to set up some sort of update schedule that always updates the current days data every day, but might not update days further out at the same schedule then it could be something to consider, but only if the SD server issue cannot be addressed by distributing the different members connect times.
- garyan2
- Posts: 7480
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
- HTPC Specs:
Just thinking out loud, and I agree with Space, but the method I would think to incorporate a random delay would be to only give the hour of the day to be an option and describe that the task will be started some point within that hour. Having minutes in the task for a random delayed event doesn't make sense.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 2841
- Joined: Sun Jun 02, 2013 9:44 pm
- Location:
- HTPC Specs:
I don't support taking control away from the user. I don't support randomizing the connection every day so that it is at a different minute in the hour.
I understand that anyone can modify the task in task manager to do whatever they want, and I understand that many users (most?) will not care or have any real understanding of what they are doing here, but that is why I say that simply randomizing the hour and minute to a default value (that is changeable by the user) is the best and simplest solution.
People who know what they are doing can change this value to suit them (tool tip to tell them not to change the minute to a value between 0 and 10) and won't get frustrated by the tool trying to force them in to something they don't want. Others, who are "clueless", will just accept the default and all will be good. No need to complicate things...
I understand that anyone can modify the task in task manager to do whatever they want, and I understand that many users (most?) will not care or have any real understanding of what they are doing here, but that is why I say that simply randomizing the hour and minute to a default value (that is changeable by the user) is the best and simplest solution.
People who know what they are doing can change this value to suit them (tool tip to tell them not to change the minute to a value between 0 and 10) and won't get frustrated by the tool trying to force them in to something they don't want. Others, who are "clueless", will just accept the default and all will be good. No need to complicate things...