LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cron job that email a text file (http://www.linuxquestions.org/questions/linux-newbie-8/cron-job-that-email-a-text-file-163805/)

paynsr 03-29-2004 12:38 PM

cron job that email a text file
 
I have a email filtering appliance running RH7.3. This server is located within a DMZ. I am wanting to create a cron job that will email me that file to my email account that resides on our LAN within a domain. I have spent 6+ hours searching every possible site.

mako747 03-29-2004 01:36 PM

Are you running sendmail?

If so......
45 13 * * mon-fri /usr/bin/sendmail me@mydomain.com < /this/is/the/file


All times are GMT -5. The time now is 08:47 PM.