![]() |
|
|
#1 |
|
Dec 2011
After milion nines:)
101101001012 Posts |
I buy new SSD for my linux machine and install latest version od Debian netinstall.
So I dont have any GUI. So my problem is: if I login to console and start mprime and mprime find PRP then pieso speaker from motherboard start to do beep :) But if I start mprime via crontab then pieso speaker dont produce any sound if PRP is found. Any solution? |
|
|
|
|
|
#2 |
|
Sep 2006
Brussels, Belgium
2·3·281 Posts |
I think that this could help : when in console mode you can use the menu item 14 to set "Make noise if new Mersenne prime is found" to "N" or you can just add the line "SilentVictory=1" to prime.txt.
Jacob |
|
|
|
|
|
#3 |
|
Dec 2011
After milion nines:)
26458 Posts |
That will stop beep tone. And I need opposite :) - I need beep tone :)
|
|
|
|
|
|
#4 |
|
"Mike"
Aug 2002
822410 Posts |
Maybe:
SilentVictory=0 |
|
|
|
|
|
#5 |
|
Sep 2006
Brussels, Belgium
2×3×281 Posts |
Oups ! Indeed I read what I would want : no noise.
As far as I understand things when you run the program through crontab the output goes to a logfile by default. Since the "beeps" are printed to the standard output they will be in the file. You should have crontab start a terminal session that will run mprime.(or something like that.) Jacob |
|
|
|
|
|
#6 | |
|
Dec 2011
After milion nines:)
5·172 Posts |
Quote:
Yes, I noticed a huge number of letter "G" when PRP is found and beep start. Anyone have idea how to start terminal and mprime inside with crontab |
|
|
|
|
|
|
#7 |
|
Dec 2012
The Netherlands
32468 Posts |
Unprivileged users are not usually allowed to write to the console unless they are logged in on it because of the inherent security risks.
If this is not an issue on your machine, you can change the permissions and then add Code:
>/dev/console 2>&1 |
|
|
|
|
|
#8 | |
|
Dec 2011
After milion nines:)
5·172 Posts |
Quote:
Nick this work perfect, but now I lost logging, since I redirect all output text to log file. I found that in same rare situations I can be without results or two ( lost in space) and found they are present in log file. Any suggestion for this? |
|
|
|
|
|
|
#9 |
|
Dec 2012
The Netherlands
2·23·37 Posts |
|
|
|
|
|
|
#10 |
|
Dec 2011
After milion nines:)
5×172 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| motherboard disposal | wildrabbitt | Hardware | 5 | 2019-01-11 19:07 |
| Processor for X79 motherboard | fivemack | Hardware | 5 | 2018-05-07 09:16 |
| Motherboard for AMD FX8350 | fivemack | Hardware | 5 | 2012-10-23 20:56 |
| Help choosing motherboard please. | Flatlander | GPU Computing | 4 | 2011-01-26 08:15 |
| Motherboard Problem | ndpowell | Hardware | 3 | 2006-02-08 21:40 |