Message boards : Questions and problems : Multiple time windows in day-of-week override
Message board moderation
    
| Author | Message | 
|---|---|
| 
        
     Send message Joined: 15 Mar 10 Posts: 10  
         | 
        
         
 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?  | 
| 
        
     Send message Joined: 3 Apr 06 Posts: 547  
         | 
        
         
 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  | 
| 
        
     Send message Joined: 3 Apr 06 Posts: 547  
         | 
        
         
 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  | 
| 
        
     Send message Joined: 15 Mar 10 Posts: 10  
         | 
        
         
 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.  | 
        Copyright © 2025  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.