LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Script Automatic send email using crontab (https://www.linuxquestions.org/questions/linux-newbie-8/script-automatic-send-email-using-crontab-4175541117/)

samkorok 04-29-2015 10:09 AM

Script Automatic send email using crontab
 
Hello,

I have server but it all hardening.i can't install mailx and sendmail. How could i do script to automatic send email to my mailbox using crontab?

any idea guy.

Thanks for the help.

Samhan

TB0ne 04-29-2015 12:55 PM

Quote:

Originally Posted by samkorok (Post 5355134)
Hello,
I have server but it all hardening.i can't install mailx and sendmail. How could i do script to automatic send email to my mailbox using crontab? any idea guy.

Please read the "How to ask a smart question" and "Question Guidelines" link in my posting signature. You aren't providing any details that would help us, help you.

Short answer: if you can't install any packages, then you must not be the systems administrator...so ASK them to install what you need and/or ask them for suggestions on how to accomplish what you're after.
Longer answer: You say "mailbox"...if you mean local mail on the Linux server itself, you don't need mailx or sendmail configured; local mail delivery will take place. You can also compile and run mailx from your home directory, but be aware that if your administrator hasn't allowed outgoing mail connections, the software won't work.


All times are GMT -5. The time now is 06:09 AM.