Bitcoin Forum
May 08, 2024, 05:23:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Can i run cgminer in the background? no window?  (Read 17290 times)
c0rrupt
Newbie
*
Offline Offline

Activity: 22
Merit: 0



View Profile WWW
November 28, 2013, 03:40:52 PM
Last edit: November 28, 2013, 03:51:49 PM by c0rrupt
 #21

Ok it work, but it must be different, just make .txt file with this
Code:
Set WshShell = CreateObject("WScript.Shell" ) 
WshShell.Run chr(34) & "C:\cgminer\cgminer.exe" & Chr(34), 0
Set WshShell = Nothing
replace your cgminer.exe path, save, rename .txt to .vbs and done.

This works, but when you want start it with windows, you must put it to start up menu (right click open for all, when for all users).

But when I try to run it through registry or task sheduler, it wont work. When some one solve it, how to run it wia task sheduler as admin or something like this, so cgminer will run hidden, after login any user, it will run after log off or it start with system let me know. BTW when I test it with task sheduler, he run script, cgminer start and then close immediately.
Sorry for my english.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!