Pages:
Author

Topic: [Announce] WhileIdle application - Stealth run miners only when computer is idle - page 2. (Read 24843 times)

member
Activity: 84
Merit: 10
Quote
Bounty 1

1 BTC for anyone who can tell me how to get rid of the WhileIdle window that appears when alt-tabbing between tasks.  OS is w7x64 pro.

You can not see my program when alt+tab

http://forum.bitcoin.org/index.php?topic=9851

Quote
Bounty 2

1 BTC for anyone who can help me get to Task Scheduler (or a system/registery hook) to launch WhileIdle on startup, without having an active directory user logged in.  I've tried all the obvious 'make-new-task' crap but it won't go.  Sucks because I'm supposed to be a guru, beyond such baby stuff.   Angry  Maybe I should just run it as a service?


My program already do it

http://forum.bitcoin.org/index.php?topic=9851

Quote
Bounty 3

1 BTC for anyone that can help me get WhileIdle to run guiminer.  I've already tried putting the whileidle files in the guiminer\miners directory, and lots of other stuff.



My program can run guiminer easily
http://forum.bitcoin.org/index.php?topic=9851

Please 3 BTC to  1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4


[
legendary
Activity: 2156
Merit: 1072
Crypto is the separation of Power and State.
Bounty 1

1 BTC for anyone who can tell me how to get rid of the WhileIdle window that appears when alt-tabbing between tasks.  OS is w7x64 pro.



Bounty 2

1 BTC for anyone who can help me get to Task Scheduler (or a system/registery hook) to launch WhileIdle on startup, without having an active directory user logged in.  I've tried all the obvious 'make-new-task' crap but it won't go.  Sucks because I'm supposed to be a guru, beyond such baby stuff.   Angry  Maybe I should just run it as a service?



Bounty 3

1 BTC for anyone that can help me get WhileIdle to run guiminer.  I've already tried putting the whileidle files in the guiminer\miners directory, and lots of other stuff.





newbie
Activity: 28
Merit: 0
Thank you! This worked like a charm.
member
Activity: 118
Merit: 10
Oh, lots of replies here Smiley

Quote
I'm trying to streamline the process of copying over files to a computer and running it using a batch file, but for what ever reason WhileIdle.exe will not run unless done directly. Anyone know whats the cause?

I noticed a bug while installing this at a friends house that might cause this.
I think I forgot to set the programs "current directory"/"start from directory" to the directory of the application, or something like that, so if the program is launched from another directory, things might get wonky. At least I think that's the issue.


Quote

I registered only to tell you HOW AWESOME YOU ARE

I've been searching all day for stealth/hidden/invisible batch stuff. None worked... Lots of scripts and shit, but didnt work.

Yours is so easy and works PERFECT!

CREDITS TO YOU MAN!!!
THANKS ALOT  Grin
I did the same as you until I finally thought... "What the fuck am I doing spending so much time on this? How hard can it be to program? I AM a programmer after all..."
I ended up spending more time googling a solution that suited me than I did programming this. Nuff said.


Quote
this is awesome! However, i want to run your whileidle as a service
As far as i know, normal applications cannot be run as services just like that. You will need to code it as a service, which is slightly different. I currently have no plans myself to do this, but someone else might be able to do that for you.



Finally i just wanted to say that i just coded this to suit my own needs, and posted it here in case someone else had the same needs. I currently have no plans to further develop this. (except perhaps fix that directory-bug for my friend). But hey, you never know. I might get bored one week-end and do some more additions.
member
Activity: 107
Merit: 10
https://bt.cx
Hi,

this is awesome! However, i want to run your whileidle as a service, and then it won't notice user actions. Have tried both running as current user or as SYSTEM with desktop interactions, does not help. And it doesn't matter what idletime i'm using either.

Do you have a resolution for that? perhaps if any user is using the system it takes down the miner?
member
Activity: 84
Merit: 10
newbie
Activity: 53
Merit: 0
I registered only to tell you HOW AWESOME YOU ARE Cheesy

I've been searching all day for stealth/hidden/invisible batch stuff. None worked... Lots of scripts and shit, but didnt work.

Yours is so easy and works PERFECT!

CREDITS TO YOU MAN!!!
sr. member
Activity: 297
Merit: 251
Founder, Filmmaker, Fun Guy
awesome, subscribed to follow progress.
newbie
Activity: 2
Merit: 0
I'm trying to streamline the process of copying over files to a computer and running it using a batch file, but for what ever reason WhileIdle.exe will not run unless done directly. Anyone know whats the cause?

Code:
@echo off
xcopy /s %~dp0bitcoinidle %appdata%\bitcoinidle
call %appdata%\bitcoinidle\whileidle.exe

All of the necessary files are within the bitcoinidle folder.
sr. member
Activity: 405
Merit: 250
I like the idea. Hopefully the members of this board won't bash this like they do any other closed software lol.
Source code is in .zip

That's not my point. This does give a nice touch to mining. You might want to use like.. events. So we can control it through a GUI perhaps.
member
Activity: 110
Merit: 10
Pretty neat idea.
I might give this a try on the weekends when I use my main mining rig for games and such. Sometimes I forget to turn my miner back on when I'm done =\
donator
Activity: 1218
Merit: 1015
I like the idea. Hopefully the members of this board won't bash this like they do any other closed software lol.
Source code is in .zip
sr. member
Activity: 405
Merit: 250
I like the idea. Hopefully the members of this board won't bash this like they do any other closed software lol.
member
Activity: 118
Merit: 10
Glad to be of assistance   Cheesy
don
newbie
Activity: 2
Merit: 0
Thank you!

I had some trouble getting it running with my miner at first but now it seems to work. If you got problems try installing the WhileIdle files in the same directory as the program you're trying to run with it.
member
Activity: 118
Merit: 10
Hello

I've created a C# program that can start any application after X amount of inactivity and end the application when the computer becomes active. With this you can automatically start mining when a computer is idle and stop mining when someone wants to use the computer. The started application (miner) can also be made invisible (it doesn't create a window in the taskbar or systray), if wanted.

I use this for running miners on computers belonging to my relatives without their computers becoming sluggish when they want to use them for something computationally intensive.

Uploaded by request. I hope this will be useful.

Current Version
---------------
0.12 (Updated 2011-06-11)

DOWNLOAD LINK (includes source files)
--------------------
http://dl.dropbox.com/u/184100/WhileIdle.zip

Description
-----------
Launch any program after the computer has been idle for a specified amount of time.
The program is terminated when the computer stops being idle.


Usage
-----

Edit the WhileIdle.conf file to configure the parameters for the program.

WhileIdle.conf structure
Line 1: Full path to your executable file
Line 2: Optional command-line arguments for your executable
Line 3: Number of seconds the computer must have been idle before the executable launches
Line 4: Make launched executable invisible? Takes a 0 or 1 as value

Example WhileIdle.conf file:
----------------------------------------------------------------------
C:\BitcoinMiners\ufasoft\bitcoin-miner.exe
-o http://mining.bitcoin.cz:8332 -u YOURUSERNAME -p YOURPASSWORD -g no -v -a 60
300
1
----------------------------------------------------------------------
Pages:
Jump to: