April 20, 2015, 05:06:21 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
Author Topic: How do I get mail sent from a cron job....  (Read 1004 times)
Posts: 30

« on: October 21, 2007, 03:08:16 pm »

Seems that I can't figure out how to get my local mail for su.  I added a script to cron and want to see the e-mail it should have produced.  Searched the internet, but all I can find is how to fetch mail from the internet etc.  I know I used to do this easily in RH6, but my memory fails me.  Its probably so simple, it's pathetic.     
Posts: 1132

« Reply #1 on: October 26, 2007, 12:58:46 pm »

I think you'll be needing something like sendmail to do that (i.e. a mail daemon).

to read your mail it may be as easy as cat'ing you mail folder in /var (e.g. cat /var/mail/<user>/inbox)

these are extremely generalized so maybe someone else with more experience can give more specific instructions.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!