留言板 :
Number crunching :
Scheduling BOINC by day-of-week
留言板合理
| 作者 | 消息 |
|---|---|
Dave_L 发送消息 已加入:30 Jan 04 贴子:8 积分:208,353 近期平均积分:0
|
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. |
|
Temujin 发送消息 已加入:19 Oct 99 贴子:292 积分:47,872,052 近期平均积分:0
|
Thanks for pointing me to that program. 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 |
ML1 发送消息 已加入:25 Nov 01 贴子:10584 积分:7,508,002 近期平均积分:20
|
Perhaps this should be asked in the BOINC forum, but since I'm not registered there, I thought I'd try here first. 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) |
Dave_L 发送消息 已加入:30 Jan 04 贴子:8 积分:208,353 近期平均积分:0
|
Thanks for pointing me to that program. According to this page, boinccmd.exe has the option: --read_global_prefs_override "boinccmd --help" doesn't show that option though. I'll try it and see if it works. |
|
Ingleside 发送消息 已加入:4 Feb 03 贴子:1546 积分:15,832,022 近期平均积分:13
|
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." |
Dave_L 发送消息 已加入:30 Jan 04 贴子:8 积分:208,353 近期平均积分:0
|
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? |
©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.