Different settings for certain weekdays


log in

Advanced search

Questions and Answers : Preferences : Different settings for certain weekdays

Author Message
Rolf-Werner
Send message
Joined: 5 Nov 02
Posts: 11
Credit: 15,174
RAC: 0
Germany
Message 515688 - Posted: 10 Feb 2007, 12:23:16 UTC

Hi all,

Is it possible to let the client run and pause at different times over the week?

In my case (office server, Linux) the machine could run BOINC over the weekend 24 hours a day, but during the week I need a restriction to the night hours.

I thought of a cron job swapping the preference files, but there might be more elegant solutions out there.

Thanks for all tips.

Regards

Rolf

____________

Aurora Borealis
Volunteer tester
Avatar
Send message
Joined: 14 Jan 01
Posts: 2975
Credit: 4,235,558
RAC: 2,700
Canada
Message 515699 - Posted: 10 Feb 2007, 12:37:48 UTC - in response to Message 515688.
Last modified: 10 Feb 2007, 12:44:18 UTC

Hi all,

Is it possible to let the client run and pause at different times over the week?

In my case (office server, Linux) the machine could run BOINC over the weekend 24 hours a day, but during the week I need a restriction to the night hours.

I thought of a cron job swapping the preference files, but there might be more elegant solutions out there.

Thanks for all tips.

Regards

Rolf

Not yet. They are working on an advanced local options that will have daily preference setting, but it's still not ready even for alpha testing. Probably wont be available until version 5.10.x.

Keep checking for new releases and happy crunching.
____________
Questions? Answers are in the "Unofficial" BOINC Wiki.

Boinc V7.0.27
Win7 i5 3.33G 4GB, GTX470

Rolf-Werner
Send message
Joined: 5 Nov 02
Posts: 11
Credit: 15,174
RAC: 0
Germany
Message 515767 - Posted: 10 Feb 2007, 16:19:38 UTC

Ok, so how do I keep it from reading the preferences from the seti website during the weekend? I didn't find a "switch" for it, neither in the preferences file nor on the website account preferences.

This would enable me to use two different preferences files.

Rolf

____________

Profile mikey
Volunteer tester
Avatar
Send message
Joined: 17 Dec 99
Posts: 4215
Credit: 3,474,603
RAC: 0
United States
Message 515783 - Posted: 10 Feb 2007, 16:39:02 UTC - in response to Message 515767.

Ok, so how do I keep it from reading the preferences from the seti website during the weekend? I didn't find a "switch" for it, neither in the preferences file nor on the website account preferences.
This would enable me to use two different preferences files. Rolf

This is not possible in the current versions of the software. You can manually do it, but that would be a ROYAL PAIN!
____________

Aurora Borealis
Volunteer tester
Avatar
Send message
Joined: 14 Jan 01
Posts: 2975
Credit: 4,235,558
RAC: 2,700
Canada
Message 515791 - Posted: 10 Feb 2007, 16:46:45 UTC

Which preference do you want different on the Weekend?
____________
Questions? Answers are in the "Unofficial" BOINC Wiki.

Boinc V7.0.27
Win7 i5 3.33G 4GB, GTX470

Rolf-Werner
Send message
Joined: 5 Nov 02
Posts: 11
Credit: 15,174
RAC: 0
Germany
Message 515807 - Posted: 10 Feb 2007, 17:19:02 UTC - in response to Message 515791.
Last modified: 10 Feb 2007, 17:20:16 UTC

Which preference do you want different on the Weekend?


The time from and up to it may run. On the weekend, it may run 24 h/day, but from Monday 7:00 am it has to change to run only over night, i. e. from 6 pm to 7 am.

Friday 6 pm to Monday 7 am would be weekend. This could be easily edited in the preferences file, then I could set a cron job to swap the files. But it would not have to re-read the preferences from the website.

Rolf

____________

John McLeod VII
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 15 Jul 99
Posts: 22343
Credit: 439,209
RAC: 396
United States
Message 515911 - Posted: 10 Feb 2007, 20:49:18 UTC - in response to Message 515688.

Hi all,

Is it possible to let the client run and pause at different times over the week?

In my case (office server, Linux) the machine could run BOINC over the weekend 24 hours a day, but during the week I need a restriction to the night hours.

I thought of a cron job swapping the preference files, but there might be more elegant solutions out there.

Thanks for all tips.

Regards

Rolf

There is a slightly more elegant solution. BOINCCmd has some command line switches in particular:

boinccmd --set_run_mode {always | auto | never}
To start processing:
boinccmd --set_run_mode always
To stop processing:
boinccmd --set_run_mode never

there are more switches and parameters available by typing
boinccmd --help
____________


BOINC WIKI

Rolf-Werner
Send message
Joined: 5 Nov 02
Posts: 11
Credit: 15,174
RAC: 0
Germany
Message 516678 - Posted: 12 Feb 2007, 16:48:13 UTC - in response to Message 515911.


There is a slightly more elegant solution. BOINCCmd has some command line switches in particular:

boinccmd --set_run_mode {always | auto | never}
To start processing:
boinccmd --set_run_mode always
To stop processing:
boinccmd --set_run_mode never

there are more switches and parameters available by typing
boinccmd --help


Yeah - thanks a lot! :-) Good hint. Manually it runs well, I can switch on and off as expected.

However, via crontab it produces an "Authorization failure: -155" when started from the official system's crontab (under my personal rights). When started from a user's (mine) crontab, nothing happens too, but with no error message at all.

Any idea?

Rolf

____________

Questions and Answers : Preferences : Different settings for certain weekdays

Copyright © 2013 University of California