Scheduling BOINC by day-of-week

留言板 : Number crunching : Scheduling BOINC by day-of-week
留言板合理

To post messages, you must log in.

作者消息
Profile Dave_L

发送消息
已加入:30 Jan 04
贴子:8
积分:208,353
近期平均积分:0
United States
消息 535175 - 发表于:22 Mar 2007, 18:33:25 UTC
最近的修改日期:22 Mar 2007, 18:56:18 UTC

I tested "boinccmd --read_global_prefs_override" and it appeared to work. The expected messages were generated in the log. I guess "boinccmd --help" isn't up-to-date.

But the --set_run_mode (and --set_network_mode) options look like the simplest solution. Thanks.
ID: 535175 · 举报违规帖子
Temujin
志愿者测试人员

发送消息
已加入:19 Oct 99
贴子:292
积分:47,872,052
近期平均积分:0
United Kingdom
消息 535123 - 发表于:22 Mar 2007, 15:52:27 UTC - 回复消息 535117.  
最近的修改日期:22 Mar 2007, 15:54:27 UTC

Thanks for pointing me to that program.

According to this page, boinccmd.exe has the option:

--read_global_prefs_override

Tell the core client to read the global_prefs_override.xml file, and incorporate any global preferences indicated there.


"boinccmd --help" doesn't show that option though. I'll try it and see if it works.

Rather than setting the hours for boinc to run, why not just schedule boinc to suspend/resume?
The page you mention also refers to "--set_run_mode {always | auto | never} [ duration ]"
Then you just need to schedule 2 commands as and when you want boinc to run or stop
I use this on some PCs at work that don't run during office hours Mon-Fri but run 24 hours Sat & Sun
ID: 535123 · 举报违规帖子
Profile ML1
志愿者负责人
志愿者测试人员

发送消息
已加入:25 Nov 01
贴子:10584
积分:7,508,002
近期平均积分:20
United Kingdom
消息 535122 - 发表于:22 Mar 2007, 15:51:05 UTC - 回复消息 535054.  

Perhaps this should be asked in the BOINC forum, but since I'm not registered there, I thought I'd try here first.

I'm using BOINC 5.8.15 on both WinXP and Linux (MEPIS).

I'd like to schedule the BOINC client to run different hours on different days of the week.

The BOINC manager has only one set of starting/ending times.

Are there any existing utilities for changing the starting/existing times based on the day of the week?...

This was discussed recently on the boinc developers list with a few ideas thrown around.

But more to the point, why do you wish to schedule operation hours? Boinc and the science apps should be low impact and should just simply run quietly in the background...

(OK, not quite the case for Windows for various priorities/scheduler reasons. Linux seems fine. And all provided that you don't run out of RAM.)


Happy crunchin',
Martin

See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 535122 · 举报违规帖子
Profile Dave_L

发送消息
已加入:30 Jan 04
贴子:8
积分:208,353
近期平均积分:0
United States
消息 535117 - 发表于:22 Mar 2007, 15:43:03 UTC
最近的修改日期:22 Mar 2007, 15:43:43 UTC

Thanks for pointing me to that program.

According to this page, boinccmd.exe has the option:

--read_global_prefs_override

Tell the core client to read the global_prefs_override.xml file, and incorporate any global preferences indicated there.


"boinccmd --help" doesn't show that option though. I'll try it and see if it works.
ID: 535117 · 举报违规帖子
Ingleside
志愿者开发人员

发送消息
已加入:4 Feb 03
贴子:1546
积分:15,832,022
近期平均积分:13
Norway
消息 535076 - 发表于:22 Mar 2007, 13:32:10 UTC

Hmm, don't look like boinccmd.exe includes an option to re-read preferences...

But, boinccmd does include options to set network-mode and run-mode, meaning you can make 2 batch-files, and Schedule these to run whenever you want to on specific days... Under Windows just use Scheduled Tasks, and it's likely something similarly available under Linux. If you've configured to remotely control the other BOINC-installs, it's really enough to run the schedule on one computer, and just has a longer batch-file. ;)


BTW, detailed scheduling should be included in BOINC v5.10.xx, but this is some time off.

"I make so many mistakes. But then just think of all the mistakes I don't make, although I might."
ID: 535076 · 举报违规帖子
Profile Dave_L

发送消息
已加入:30 Jan 04
贴子:8
积分:208,353
近期平均积分:0
United States
消息 535054 - 发表于:22 Mar 2007, 12:14:56 UTC

Perhaps this should be asked in the BOINC forum, but since I'm not registered there, I thought I'd try here first.

I'm using BOINC 5.8.15 on both WinXP and Linux (MEPIS).

I'd like to schedule the BOINC client to run different hours on different days of the week.

The BOINC manager has only one set of starting/ending times.

Are there any existing utilities for changing the starting/existing times based on the day of the week?

If not, I suppose I could write and run a periodic script that modifies these settings in global_prefs.xml and/or global_prefs_override.xml:

<start_hour>18</start_hour>
<end_hour>6</end_hour>
<net_start_hour>18</net_start_hour>
<net_end_hour>6</net_end_hour>


How would I signal to BOINC that the files have been changed and need to be re-read?
ID: 535054 · 举报违规帖子

留言板 : Number crunching : Scheduling BOINC by day-of-week


 
©2020 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.