I installed the script, it was running, mailing me every hour... but the last time is mailed was at 1:00 this morning. The headless was not Authenticated.

How do check that cron is running the ruby script?

On Dec 2, 2005, at 11:00 PM, TuxGirl wrote:


You're making it a lot more complicated than it needs to be

First off, if you install ruby, you can just add the ruby script i
sent you to cron, and you won't need to do anything from your mini to
make it work once it's set up
Secondly, even if you take the much more complicated methods that were
suggested to you earlier, why do you even care if your machine is
authenticated over christmas if you can't get to it?

to give more info on the ruby solution
what you need to do:
A) install ruby
B) download that file and put it someplace
C) create a file called .byuwireless.passwd and put it in your home
directory (/home/dallred or whatever it's called...)... this file will
have the following:
username: foo
password: bar
(where you replace foo and bar with your ry username and password)
D) open the .rb file, look at the 9th line, and change it to point to
where you just put the password file
E) run crontab -e and edit the file to add the line:
0 * * * * ruby /path/to/byuwirelss.rb

once you have that going, it shoud go to check if it needs to
re-authenticate every hour on the hour...  (if anyone notices that i
missed something, let me know)

~Erin

--------------------
BYU Unix Users Group
http://uug.byu.edu/

The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU- UUG.
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list


--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to