Skip to content

"Finish active tasks and quit" feature #6647

@AufarZakiev

Description

@AufarZakiev

Describe the problem

Hi, thanks for your exceptional work on the project!

Context:
I keep BOINC running only at night when no job is done on the PC. When I come back to work, I want to turn off BOINC to take back resources.

Env:
Windows, x64

Problem:
There are always a dozen of unfinished tasks in the morning. Some of them could be processed for 7-8 hours by this moment. So, I want these "nearly done" tasks to be completed and no new tasks to be assigned to the queue. After finishing "nearly done" tasks, BOINC should quit automatically.

Describe the solution you'd like

Solution:
Add a tray menu item called "Finish active tasks and quit". It will take a list of already active tasks (with progress > 0), wait them to complete. During this, this mode also will block adding new tasks to a queue. When where is no active tasks, BOINC should quit.

Additional context

The thing to consider: is it a problem for anyone except me? Dunno :)

Well, solution feels pretty natural for me since we already have snooze options in tray menu. I have already implemented it and it works well. I also added translation for Russian language. I will create PR soon

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions