Message boards :
Questions and problems :
Force regular project update?
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
I have a computer with a flaky graphics card that makes a few computation errors on Milkyway GPU tasks. But most go through ok. For some reason this causes Boinc (not Milkyway) to back off anywhere between an hour and 24 hours. Since Milkyway only hands out 3 hours worth of tasks in one go, I often find it sitting idle when I'm not there to shove it. I'm sure I read somewhere in the forums (but can't find it) of a way to tell Boinc to update a project with a set frequency. Anyone know what it is? |
Send message Joined: 5 Oct 06 Posts: 4759 ![]() |
The facility within BOINC to do that is set at the project's end - GPUGrid is one of mine that uses it. If a user wants to mimic the behaviour, they normally write an operating system script that calls the boinccmd utility. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
I have told Windows 10 task scheduler to run: boinccmd --project https://milkyway.cs.rpi.edu/milkyway/ update every 15 minutes, this should work, thanks. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
It works great once you kick it. The Windows Task Scheduler is a little weird. Problem 1: It starts it in the wrong folder. I assumed that calling a batch file in folder X would make it run in folder X, but no, it runs it in the windows system directory, so it can't find the boinccmd.exe, and even if it had I'd have had to put in a user/password to make boinc listen. So I put the correct folder in the "run in" box, which caused it not to run it at all. I had to put a change directory command in the batch file. Problem 2: The most frequently you can schedule it is once a day, I wanted once every 15 minutes. So I used the "once triggered, run every 15 minutes" option. Apparently manually triggering it doesn't apply, so I had to set the time of the first run to be a few minutes from now so it continued. And I thought Boinc was badly programmed! You'd think by version 10, an OS would just work. |
Send message Joined: 5 Oct 06 Posts: 4759 ![]() |
An alternative (and the one I use at WCG/OPN) is to open a command window on the boinccmd folder, and run a circular script with an embedded wait command. No need for the task scheduler. No, I didn't write it: one was posted on the project forum, and I tweaked it a bit until I was happy with it. |
Copyright © 2022 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.