Hi Folks,

I enjoyed my first encounter with the mhvlug today at lunch.  Glad I
finaly found you.

One thing that came up briefly was an technique that has helped me
debug or monitor cron jobs using screen.  If your not familiar with
screen it is a layerable, detachable text terminal.  It lets you
connect and disconect to a collection of terminal sessions, cut and
past between them and share them with others, all the while each
terminal is still running.  Back in the day of unreliable phone
connectivity it was a required program.  Now I find I use it any time
I connect to a remote machine where a wireless or long network
connection is involved.  That way if for any reason the connection is
dropped, you can reconnect to the session with no loss.  Anyway, at
lunch I mentioned using it in cron jobs, I started doing this for
automated backups so I could connect to the backup and see what was
going on if or when there was a problem.  I could not find the article
that originaly turned me on to the idea but I did find this one which
shows how to use screen to monitor init jobs:

http://www.samag.com/documents/s=9598/sam0504k/0504k.htm

It gives some examples that should get you going.

Enjoy,

-Greg


-- 

 Greg Priest-Dorman
 [EMAIL PROTECTED]


_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
                              
  Oct 3 - Security and Privacy
  Nov 7 - Django Python Application Framework

Reply via email to