Automating NNT scheduling?

Message boards : Number crunching : Automating NNT scheduling?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 3460
Credit: 196,999,961
RAC: 532,777
United States
Message 1988694 - Posted: 4 Apr 2019, 10:15:38 UTC

I have looked at the boinc command line info here: https://boinc.berkeley.edu/wiki/Boinccmd_tool and it looks like it should be possible to toggle the No New Tasks/Resume on a project basis.

What I would like to see is a practical example of a shell script (that is presumably executed by a time daemon) that would toggle NNT based on the number of tasks currently available and/or the day of the week/time?

I would like to have is say World Community Grid "resume" about 8am local time and goto NNT about 8pm local time on Tuesday.
World Community Grid has settings on the Website that can limit the total# downloaded. But for projects that don't have that. being able to toggle NNT might automate the average "flood level"?

Tom
I will stop procrastinating tomorrow.
\\// Live Long & Prosper (starting tomorrow ;)
ID: 1988694 · Report as offensive
W3Perl Project Donor
Volunteer tester

Send message
Joined: 29 Apr 99
Posts: 239
Credit: 2,826,947,704
RAC: 3,542,882
France
Message 1988706 - Posted: 4 Apr 2019, 12:50:59 UTC - in response to Message 1988694.  

You could add an entry in your crontab to launch the following command to suspend/resume boinc

boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project http://setiathome.berkeley.edu/ suspend
boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL resume

If you want to know how much wu is running/waiting, you can use my cpu2gpu.pl perl script available at http://www.w3perl.com/seti/
cpu2gpu.pl -i will display cpu/gpu wu
cpu2gpu.pl -j will display wu status (Download stalled,Ready to start,Completed with error,Upload stalled,Completed,Cancelled)
ID: 1988706 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 13133
Credit: 149,099,525
RAC: 174,902
United Kingdom
Message 1988711 - Posted: 4 Apr 2019, 13:28:53 UTC - in response to Message 1988706.  

You could add an entry in your crontab to launch the following command to suspend/resume boinc

boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project http://setiathome.berkeley.edu/ suspend
boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL resume
I think the question as posed would require

boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL nomorework
boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL allowmorework
ID: 1988711 · Report as offensive

Message boards : Number crunching : Automating NNT scheduling?


 
©2019 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.