Is there a way to limit only download times?

Message boards : Questions and problems : Is there a way to limit only download times?
Message board moderation

To post messages, you must log in.

AuthorMessage
Cliffz0rz

Send message
Joined: 18 Nov 14
Posts: 1
Canada
Message 57872 - Posted: 18 Nov 2014, 19:26:34 UTC

My ISP allows unlimited uploads 24/7, but only unlimited downloads from 2am-8am. I have a cap for downloads the remaining 18 hours of the day. In BOINC, I can limit the hours for network availability, but that covers both upload and download. Is there a way to allow projects to upload results any time of the day, but only allow downloading of new work during the 2am-8am window? I haven't seen anything obvious along these lines.

Thanks for any assistance.
ID: 57872 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 57915 - Posted: 20 Nov 2014, 1:01:31 UTC - in response to Message 57872.  

No, there is no such option.
ID: 57915 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 57919 - Posted: 20 Nov 2014, 2:22:24 UTC - in response to Message 57872.  
Last modified: 20 Nov 2014, 2:26:27 UTC

You could do a script to set each project to No New Tasks at the end of your unlimited period, and another one to unset NNT after the beginning of your unlimited period.
(If Boinc can't ask for work it can't download anything, it'll only upload and report tasks as they complete)

http://boinc.berkeley.edu/wiki/Boinccmd_tool

--project URL operation
Do operation on a project, identified by its master URL. Operations:

reset: delete current work and get more;
detach: delete current work and don't get more;
update: contact scheduling server;
suspend: stop work for project;
resume: resume work for project;
nomorework: finish current work but don't get more;
allowmorework: undo nomorework
detach_when_done: detach project


Claggy
ID: 57919 · Report as offensive
Profile Richie

Send message
Joined: 2 Jul 14
Posts: 186
Finland
Message 57986 - Posted: 21 Nov 2014, 18:48:17 UTC

By the way, is there a way to tell BOINC to finish a running task (or tasks) but not start a next task on the list? Sometimes it would be handy to let BOINC just finish a current job while there are also tasks on the list.

I'm thinking of something like "don't start any task on this project" or "don't start any GPU task on this project" ... "but finish what you are doing right now".

Sorry, I might have missed some basic command...
ID: 57986 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 57987 - Posted: 21 Nov 2014, 18:56:22 UTC - in response to Message 57986.  

Start the BOINC binary with the --exit_after_finish attribute.

E.g. in Windows,
boinc.exe --exit_after_finish

Exit just after finishing any job.
ID: 57987 · Report as offensive
Profile Richie

Send message
Joined: 2 Jul 14
Posts: 186
Finland
Message 57988 - Posted: 21 Nov 2014, 19:01:36 UTC

Thank you very much!
ID: 57988 · Report as offensive

Message boards : Questions and problems : Is there a way to limit only download times?

Copyright © 2024 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.