Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 14
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 821 times and has 13 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Any way to setup weekly schedules ?

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.
[Sep 28, 2012 2:51:08 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

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.
[Sep 28, 2012 3:00:07 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

Here's the FAQ: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=20741 the 2) is the simplest set-up
[Sep 28, 2012 3:04:44 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

Ah, I knew there had to be a way :)

Thanks Rob.
[Sep 28, 2012 4:38:25 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Byteball_730a2960
Senior Cruncher
Joined: Oct 29, 2010
Post Count: 318
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

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?
[Sep 28, 2012 11:10:00 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

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
[Sep 29, 2012 12:32:21 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Byteball_730a2960
Senior Cruncher
Joined: Oct 29, 2010
Post Count: 318
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

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
[Sep 29, 2012 3:19:55 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

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
[Sep 29, 2012 12:23:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Ingleside
Veteran Cruncher
Norway
Joined: Nov 19, 2005
Post Count: 974
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

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


:start
copy cpu_50.xml global_prefs_override.xml
call "c:\program files\boinc\boinccmd" --read_global_prefs_override
sleep 28800
copy cpu_100.xml global_prefs_override.xml
call "c:\program files\boinc\boinccmd" --read_global_prefs_override
sleep 57600
goto start

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.xml
call "c:\program files\boinc\boinccmd" --read_global_prefs_override
in one script and
copy cpu_100.xml global_prefs_override.xml
call "c:\program files\boinc\boinccmd" --read_global_prefs_override
in 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]
[Sep 29, 2012 12:49:02 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Any way to setup weekly schedules ?

tongue
Thanks, Ingleside.
[Sep 29, 2012 2:40:48 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread