|
#1
| |||
| |||
| CLI Setiathome I'm running the text-based version of setiathome because it seems to run significantly faster than the GUI screensaver version (and I like OS X's screensavers so much I prefer using them to sah). But I get tired of having to remember to restart setiathome every time I restart the system or even log out of the console. Is there a way to either a) set up setiathome so it will continue to run across logouts, or b) script it so it will restart automatically on my login? setiathome lives in: /~eric/applications/seti/ the command invoking it is ./setiathome -verbose |
|
#2
| |||
| |||
| Here's how I do it: First, I have a crontab entry, 44 * * * * /Users/blb/setiathome-3.03.powerpc-apple-darwin1.2/runseti which makes sure it's running every hour (44 minutes past); since seti will only run one copy per directory, this won't kick off a new one every hour. The runseti script is: #!/bin/sh # cd /Users/blb/setiathome-3.03.powerpc-apple-darwin1.2/cpu0 nohup ./setiathome -nice 19 > /dev/null 2> /dev/null & cd /Users/blb/setiathome-3.03.powerpc-apple-darwin1.2/cpu1 nohup ./setiathome -nice 19 > /dev/null 2> /dev/null & I have two directories, one per CPU, where the setiathome executable is symlinked back to the directory where it actually resides. Of course, if you only run one copy, you don't have to do this. |
|
#3
| |||
| |||
| crontab entry for setiathome Thanks, I appreciate it. Unfortunately, I don't know enough about editing crontab to use the information yet, but my copy of OS X: the Complete Reference should be coming in tomorrow, and then I'll probably know enough about what I'm doing to do it. |
|
#4
| ||||
| ||||
| It's not a big deal, just editing a text file ( you could even do it with BBEdit ) Or you could use Cronnix, which is a GUI front end for the whole thing (serach on versiontracker)
__________________ g4 400 AGP - 512 RAM 10GB internal (dumping ground) + 60GB (30 GB OSX partition/30 GB OSX Server partition) - 3GB external SCSI (OS9/and I think the Public Beta is still on there somewhere) - DVD-RAM - ZIP |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Giving a CLI app an Aqua window - how easy? | willmac | Software Programming & Web Scripting | 7 | September 2nd, 2003 05:03 PM |
| problems with CLI apps after upgrading to 10.2 | brody | Mac OS X System & Mac Software | 11 | December 28th, 2002 07:24 PM |
| Samba SWAT problem, CLI blues | Lazarus18 | Mac OS X System & Mac Software | 0 | December 5th, 2001 01:05 AM |
| cli FTP with put recursive option | WhateverJoe | Mac OS X System & Mac Software | 3 | April 20th, 2001 11:26 AM |
| help w/ CLI logouts | biotech | Mac OS X System & Mac Software | 1 | January 28th, 2001 10:11 PM |