Questions and Answers :
Wish list :
Add a "Suspend for X minutes" in the Commands menu
Message board moderation
Author | Message |
---|---|
PRouleau Send message Joined: 3 Apr 99 Posts: 15 Credit: 20,638,960 RAC: 0 |
BOINC is set to "Run always" on my computer, even when I play games. However, I sometimes "Suspend" it to speed up a urgent task... and I forget it there. It would be nice if we had a fourth option: "Suspend for X minutes", where X would be configurable in the options or a drop down list or even a little dialog box. When the time is elapsed, it resume to the previous value ("Run always" in my case). |
Lee Carre Send message Joined: 21 Apr 00 Posts: 1459 Credit: 58,485 RAC: 0 |
you could use "run based on prefs" (with a short "wait untill computer has been inactive for x minutes before starting work" setting) or install boinc as a service and write a batch file/script to use net stop boinc to stop the service (including all science apps) wait the desired amount of time, then net start boinc to start the service again (and resume crunching if you left it with "run always" set) |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
or install boinc as a service and write a batch file/script to use Easier yet, not a batch file or command file: just make shortcuts. Rightclick on the desktop, New, Shortcut. In the "location of item" box, type: %windir%\\system32\\cmd.exe /k net stop boinc Press Next Type in as name Net stop BOINC and hit OK. Make a same shortcut on your desktop to %windir%\\system32\\cmd.exe /k net start boinc Call it Net start BOINC Now, when you want to go play the game, use the shortcut to net stop BOINC and leave the window open as a reminder to you that you stopped it. Simple. :) |
PRouleau Send message Joined: 3 Apr 99 Posts: 15 Credit: 20,638,960 RAC: 0 |
you could use "run based on prefs" (with a short "wait untill computer has been inactive for x minutes before starting work" setting) That's a good idea! and I already have it installed as a service. Instead of killing the service, I can use that little command line program which comes with the GUI: boinccmd.exe Here the first version of my script. I use CygWin so I can use my script on any of my hosts. #!/bin/bash cd /cygdrive/e/Users/PRouleau/BOINC PREVIOUS_MODE=`./boinccmd --get_run_mode` #this code is a bit silly, but --get_run_mode return "run mode: <always/>" case $PREVIOUS_MODE in *always*) PREVIOUS_MODE=always ;; *auto*) PREVIOUS_MODE=auto ;; *never*) PREVIOUS_MODE=never ;; esac echo Suspending BOINC... ./boinccmd --set_run_mode never echo Previous mode was: $PREVIOUS_MODE echo Waiting if [[ -e $1 ]] ; then sleep 5m else sleep $1 fi echo Restoring previous mode ./boinccmd --set_run_mode $PREVIOUS_MODE |
WORMSS Send message Joined: 19 Dec 99 Posts: 1 Credit: 1,727,882 RAC: 0 |
u guys? did u even read what he said? he wants it to : Turn Off/Suspend : Wait X Amount of Time : Turn On/Resume |
PRouleau Send message Joined: 3 Apr 99 Posts: 15 Credit: 20,638,960 RAC: 0 |
u guys? did u even read what he said? Do you know what is more funny? They renamed the suspend/resume commands of the tray icon. It's a snoose now. At first, I was thinking it was to prevent boincmgr to alway show its ballon (which appear way too often), but I finally understand that was the new name of suspend/resume. Anyway! At long as they keep boinccmd, I will be able to do what I want. |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
They renamed the suspend/resume commands of the tray icon. It's a snoose now. No, the snooze function is a new one. This will suspend network and CPU activity for an hour. |
Pooh Bear 27 Send message Joined: 14 Jul 03 Posts: 3224 Credit: 4,603,826 RAC: 0 |
Since this thread kind of fits my issue, I figure I would ask why here (and it's the wish list for a fix). I am using 5.4.9, and I suspended work on a machine for a while. When I brought it out of suspend, I was seeing something odd. It was suspending uploading finished results. When I finally did some checking, the network activity was suspended. I only suspended proccessing, I did not suspend the network activity. Yet it took it upon itself to suspend this, and then when I took it off suspend, this stayed suspended. Why do I have to only suspend one item, then unsuspend 2? This is not right. My movie https://vimeo.com/manage/videos/502242 |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
I am using 5.4.9, and I suspended work on a machine for a while. When I brought it out of suspend, I was seeing something odd. It was suspending uploading finished results. I'm trying to reproduce this on my machine. With a very useful Einstein that's down. I haven't managed to reproduce it yet, so it may be a one off bug. What OS do you run? Do know you can always send wishes and bugs like these to the Boinc developers email listing. |
PRouleau Send message Joined: 3 Apr 99 Posts: 15 Credit: 20,638,960 RAC: 0 |
No, the snooze function is a new one. This will suspend network and CPU activity for an hour. AahhH! That's explain the new name. And that's also explain why I saw "Netword Activity Suspended" once without requesting it. Since I didn't see that modification in the "Version Details" on the Download page, I didn't bother to check the doc available from the F1 key. I didn't expect to see it up-to-date, but I was wrong. It is up-to-date. |
PRouleau Send message Joined: 3 Apr 99 Posts: 15 Credit: 20,638,960 RAC: 0 |
Why do I have to only suspend one item, then unsuspend 2? This is not right. Did you use the "Snooze" command, then a bit later unsuspended the computation by using the "Run Always" command? I made a little test. After doing that, the "Snooze" is not check anymore. I didn't wait one hour to see if it will resume the network activity. But I tested this: I request a new Snooze, then un-Snooze it. The network activity stay suspended. This seem to be by-design, but the doc isn't too precise on that. |
Pooh Bear 27 Send message Joined: 14 Jul 03 Posts: 3224 Credit: 4,603,826 RAC: 0 |
Did you use the "Snooze" command, then a bit later unsuspended the computation by using the "Run Always" command? Actually I used the SUSPEND on the activity menu, then I noticed the SNOOZE check marked on my left click menu when I went to unsuspend, so I clicked that, figuring it would stop the suspend. This must have turned on the Suspend Network Activity,. Since Snooze was unchecked, it did not go through the timer to check things. This needs to be fixed. I am not registered on the Development boards, and unsure I want to register another board, but it would be nice if this was checked in the next itteration of the software. My movie https://vimeo.com/manage/videos/502242 |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
[quote]Did you use the "Snooze" command, then a bit later unsuspended the computation by using the "Run Always" command? I just did this... 31/05/2006 16:22:49||Suspending computation - user request 31/05/2006 16:22:49||Suspending network activity - user request That's the Snooze. Wait a minute, then went to Unsnooze: 31/05/2006 16:23:55||Resuming computation 31/05/2006 16:23:55||Resuming network activity So again, I cannot reproduce it. I am not registered on the Development boards It's an email list. Not a forum. |
Aurora Borealis Send message Joined: 14 Jan 01 Posts: 3075 Credit: 5,631,463 RAC: 0 |
Did you notice. Notes: Selecting an option that requires contacting a project will temporarily enable network activity regardless of the network setting. This includes updating a project, retrying file transfers, retrying communications and attaching to projects. Network activity will remain enabled for five minutes. Selecting Snooze from the icon menu overrides the 'run....' setting and suspends activity for one hour. Unselecting Snooze, or Selecting the Activity menu items Run always or Run based on preferences cancels Snooze. Boinc V7.2.42 Win7 i5 3.33G 4GB, GTX470 |
Pooh Bear 27 Send message Joined: 14 Jul 03 Posts: 3224 Credit: 4,603,826 RAC: 0 |
[quote]Did you use the "Snooze" command, then a bit later unsuspended the computation by using the "Run Always" command? I only did "Suspending computation - user request" I did not "Suspending network activity - user request" then I unsnoozed it, since the Snooze was checked. This turned on "Suspending network activity - user request" and never shut it off. My movie https://vimeo.com/manage/videos/502242 |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
OK, so if you can reproduce it, post step by step what you did. If you want me to, I'll put it on the developers list then. |
Pooh Bear 27 Send message Joined: 14 Jul 03 Posts: 3224 Credit: 4,603,826 RAC: 0 |
OK, so if you can reproduce it, post step by step what you did. If you want me to, I'll put it on the developers list then. Go into BOINC manager: "Activity", "Suspend" (The first Suspend, not "Network Activity Suspend", left that at Always.) When done I click "Snooze" since it was checked. This unsuspend the Work, but Suspended the Network, and did not return to normal after an hour. |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
Ok, if you click Snooze twice, everything comes undone. But I'll report it anyway. :) |
©2024 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.