Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Team MacNN > RC5 for OS X question

RC5 for OS X question
Thread Tools
Junior Member
Join Date: Jun 2000
Location: Where the grass is greener
Status: Offline
Reply With Quote
Jan 22, 2002, 12:27 PM
 
Since RC5 for OS X is a command line app, can you make RC5 run in the background, like mysql or apache? so that it works even if you are logged out? I run RC5 when i'm on the computer but must leave it logged out when I'm away and so it pretty much defeats the purpose unless i can have it running all the time...

Thanks in advance
     
Administrator
Join Date: May 2000
Location: California
Status: Offline
Reply With Quote
Jan 22, 2002, 01:47 PM
 
Check the team site for cronning instructions. If you run RC5 off the System's or Root's crontab, it will run even if everyone is logged out.

Also, you could try this. Open a Terminal window, su to root, cd to the RC5 folder, and start it up. Then close that Terminal window. Check with Processviewer, or with top in a different Terminal window. dnetc should still be running, under root ownership. Hopefully it would keep running even after you log out.
     
Junior Member
Join Date: Oct 2001
Location: Tempe, AZ
Status: Offline
Reply With Quote
Jan 22, 2002, 02:23 PM
 
if you type nohup before the command you use to start it, it should stay running until you kill it, even through log outs.
Geoff


This is my new signature, your new Team. Join Team MacNN
     
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status: Offline
Reply With Quote
Jan 22, 2002, 04:23 PM
 
Originally posted by doggkruse:
<STRONG>if you type nohup before the command you use to start it, it should stay running until you kill it, even through log outs.
Geoff</STRONG>
You can also run the program with the "&" parameter... "./dnetc &".. I think this should work as well.
"In Nomine Patris, Et Fili, Et Spiritus Sancti"

     
Forum Regular
Join Date: Jun 2001
Status: Offline
Reply With Quote
Jan 22, 2002, 04:45 PM
 
For me, it still runs even if I logout and I started it with my admin account.
"It's not like Windows users don't have any power. I think a lot of people are happy with Windows, and that's an incredibly depressing thought." -Steve Jobs
     
Junior Member
Join Date: Jun 2000
Location: Where the grass is greener
Status: Offline
Reply With Quote
Jan 22, 2002, 05:46 PM
 
kick a**,

thanks guys...

I'm at work right now, I'll let you know if it works when i get home...

Ok now that i know how to do it in OS X what about OS 9 (i use multiple users)

Edit: Added the OS 9 question

[ 01-22-2002: Message edited by: Sam I Am ]
     
Junior Member
Join Date: Jun 2000
Location: Where the grass is greener
Status: Offline
Reply With Quote
Jan 22, 2002, 11:51 PM
 
I found that the

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> sudo nohup ./dnetc </font>[/code]

worked for me, thanks for the help

[ 01-23-2002: Message edited by: Sam I Am ]
     
Mac Elite
Join Date: May 2001
Location: Vancouver
Status: Offline
Reply With Quote
Feb 1, 2002, 05:11 PM
 
Dogg,

I found that while:

#!/bin/sh

cd /Applications/Others/dnet
sudo nohup ./dnetc

works great as a script, I'm tarting to accumulate a several megabtye nohup file in the same directory.

Safe to kill?

Cheers.

Originally posted by doggkruse:
<STRONG>if you type nohup before the command you use to start it, it should stay running until you kill it, even through log outs.
Geoff</STRONG>
Macbook (Black) C2D/250GB/3GB | G5/1.6 250GBx2/2.0GB
Free Mobile Ringtone & Games Uploader | Flickr | Twitter
     
Moderator Emeritus
Join Date: Dec 2000
Location: College Park, MD
Status: Offline
Reply With Quote
Feb 1, 2002, 05:42 PM
 
I find
./dnetc -quiet
to work just as well
My website
Help me pay for college. Click for more info.
     
Grizzled Veteran
Join Date: Sep 2000
Location: Florida
Status: Offline
Reply With Quote
Feb 2, 2002, 01:54 AM
 
this works too, and is probably the easiest. run dnetc as normal in the terminal app. Then quit the terminal with dnetc running and click "quit anyway" in the dialog box that comes up. dnetc continues to run due to a minor minor flaw in the software. it will run if you log out, or do &gt;console and don't even login. It will simply always run, until you kill it.

This won't work with SETI or Ubero though.

The & trick works well with SETI, just don't use the -verbose at the same time.

The nohup works with Ubero.
-- SBS --
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2