API for downloading and uploading, and offline

Message boards : Questions and problems : API for downloading and uploading, and offline
Message board moderation

To post messages, you must log in.

AuthorMessage
hank08tw

Send message
Joined: 28 Oct 19
Posts: 3
China
Message 93574 - Posted: 7 Nov 2019, 6:36:01 UTC

Is there any API to download data (the task) from BOINC and upload data (the result) to BOINC?
And is it possible to run all the tasks by myself offline on the command line after downloading boinc client(not through the BOINCMANAGER application)?
Thanks
ID: 93574 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 309
United States
Message 93575 - Posted: 7 Nov 2019, 7:02:58 UTC - in response to Message 93574.  

You can do all you want with the client which is the main application. The Manager is nothing more than a easy GUI interface to the client. Not necessary at all to crunch for BOINC. You can do anything you want from the command line with just the client.
https://boinc.berkeley.edu/wiki/Boinccmd_tool
Just connect to the scheduler, get work, go offline and crunch the work. Connect to the scheduler to report the finished work when done and get more work. Rinse and repeat.
ID: 93575 · Report as offensive     Reply Quote
Profile JStateson
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 27 Jun 08
Posts: 516
United States
Message 93578 - Posted: 7 Nov 2019, 19:01:42 UTC

The closest thing to an actual "API" are the commands you can send to the app (the client) using boniccmd.exe. If you want to roll your own code to interact with the client then the add on tools here might be useful and especially the c# code at GitHub here. I was told it can run under Linux but AFAICT there is no native C# compiler for Linux.
ID: 93578 · Report as offensive     Reply Quote
ProDigit

Send message
Joined: 8 Nov 19
Posts: 180
United States
Message 93668 - Posted: 12 Nov 2019, 22:32:41 UTC

I don't know if it in any way helps, but when you go to projects, and press 'update', in my case, the manager would load additional tasks, that stay queued until more PC resources get available, or until previous tasks finish.
ID: 93668 · Report as offensive     Reply Quote
robsmith
Volunteer tester
Help desk expert

Send message
Joined: 25 May 09
Posts: 580
United Kingdom
Message 93680 - Posted: 13 Nov 2019, 8:22:44 UTC - in response to Message 93574.  

BOINC is the interface between teh various projects' servers and your PC, it manages the up and download of data, and the running of the project supplied applications. BOINC in itself does no calculation.
ID: 93680 · Report as offensive     Reply Quote

Message boards : Questions and problems : API for downloading and uploading, and offline

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