Multiple time windows in day-of-week override

Message boards : Questions and problems : Multiple time windows in day-of-week override
Message board moderation

To post messages, you must log in.

AuthorMessage
Brian Priebe

Send message
Joined: 15 Mar 10
Posts: 10
Canada
Message 35603 - Posted: 3 Nov 2010, 14:15:43 UTC
Last modified: 3 Nov 2010, 14:16:07 UTC

With the advent of time-of-use billing for electricity here, I'd like to suspend BOINC tasks for the peak rate periods. Is there a way to specify more than one time period in the day-of-week override?
ID: 35603 · Report as offensive
Pepo
Avatar

Send message
Joined: 3 Apr 06
Posts: 547
Slovakia
Message 35604 - Posted: 3 Nov 2010, 19:13:15 UTC - in response to Message 35603.  

I suspect you would have to use cron jobs (Unix) or Task Scheduler (Windows) and make separate calls like
"c:\Program Files\BOINC\boinccmd.exe" --set_run_mode never {duration}
at the beginnings of your peak rate periods, where {duration} is the time (in seconds) how long should BOINC keep the computation snoozed.
(Maybe you will have to set the current dir into BOINC data folder prior to launching the command - for successful authentication.)

Peter
ID: 35604 · Report as offensive
Pepo
Avatar

Send message
Joined: 3 Apr 06
Posts: 547
Slovakia
Message 35607 - Posted: 4 Nov 2010, 0:11:29 UTC - in response to Message 35605.  

While living in Germany, I've been using an electricity tariff with 3 differently expensive rates during working days and 2 over weekends. The most expensive one was active twice a day - the peak rate periods at the morning and evening (like <night>-<morning peak>-<daytime>-<evening peak>-<night>) .

I could imagine I'd like to suspend BOINC especially during these periods back then.

Peter
ID: 35607 · Report as offensive
Brian Priebe

Send message
Joined: 15 Mar 10
Posts: 10
Canada
Message 35615 - Posted: 5 Nov 2010, 17:00:09 UTC - in response to Message 35607.  
Last modified: 5 Nov 2010, 17:00:48 UTC

The most expensive one was active twice a day - the peak rate periods at the morning and evening (like <night>-<morning peak>-<daytime>-<evening peak>-<night>)

That is pretty much the scheme they have adopted here for the winter. The summer peaks are configured differently for air conditioning use mid-day.

If I can configure it for overlapping midnight, then I can at least get it running 10hrs/day in the cheapest period. But there are 6 hours of mid-peak in mid-day that would be excluded.

It's too bad it doesn't take a comma-separated list.
ID: 35615 · Report as offensive

Message boards : Questions and problems : Multiple time windows in day-of-week override

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.