Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
Category: Support Forum: BOINC Agent Support Thread: Any way to setup weekly schedules ? |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 14
|
Author |
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Is there any way to schedule the agent to run from 8 pm Friday to 6 am Monday and from 8 pm to 6 am Monday to Friday.
I run it on a server ar work and I don't want it to take resources on weekdays but running only at night on week-ends seems like an awful waste since the server does nothing else Saturday and Sunday. Can the profile be changed via command line ? I could create 2 profiles and use the task scheduler to alternate them. |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Yes, you can do that in the local preferences. See Start Here FAQ's for a networking sample for someone who only wants to network outside of office hours.
|
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Here's the FAQ: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=20741 the 2) is the simplest set-up
|
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Ah, I knew there had to be a way :)
Thanks Rob. |
||
|
Byteball_730a2960
Senior Cruncher Joined: Oct 29, 2010 Post Count: 318 Status: Offline Project Badges: |
Thank you, I was thinking about this this morning actually.
I know this is difficult, but is there a way of making WCG run on 50% cores during work hours and 100% of cores outside of work hours? |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hello vcd683s,
You cannot do that within BOINC. You would have to setup some sort of script outside of BOINC to change BOINC profiles. Or else change manually. Lawrence |
||
|
Byteball_730a2960
Senior Cruncher Joined: Oct 29, 2010 Post Count: 318 Status: Offline Project Badges: |
Thank you Lawrence.
Is that easy to do? I have no programming skills to be honest. If it can be done, it can potentially gain another 9-10 days of computing a week vcd683s |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hello vcd683s,
It is not easy unless you already know how and have software that works on your system. People have been doing things like this since the 1980s, but the computer systems keep breaking old ways of doing this. I stopped doing this sometime before 1990. Lawrence |
||
|
Ingleside
Veteran Cruncher Norway Joined: Nov 19, 2005 Post Count: 974 Status: Offline Project Badges: |
Thank you Lawrence. Is that easy to do? I have no programming skills to be honest. If it can be done, it can potentially gain another 9-10 days of computing a week Well, a basic script would be along these lines, if you've made two different global_prefs_override.xml-files called cpu_50.xml and cpu_100.xml
I've assumed the script is run from the BOINC data-directory and BOINC-client is using the default program-directory (c:\program files\boinc). Assumed is run manually in the morning for so continuing to run. Also, has assumed 8 hours work-hours and 16-hours off-work-hours. The only requirement in this script is you'll need a sleep-application, downloading sleep.exe from internet is easily done. Another possibility is to use two scripts, and set up two different sceduled tasks. If so, use copy cpu_50.xml global_prefs_override.xmlin one script and copy cpu_100.xml global_prefs_override.xmlin another script. "I make so many mistakes. But then just think of all the mistakes I don't make, although I might." [Edit 2 times, last edit by Ingleside at Sep 29, 2012 12:54:32 PM] |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Thanks, Ingleside. |
||
|
|