LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2015, 10:09 AM   #1
samkorok
LQ Newbie
 
Registered: Apr 2015
Posts: 1

Rep: Reputation: Disabled
Unhappy 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
 
Old 04-29-2015, 12:55 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,807

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by samkorok View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Send email at a particular time without using crontab sysmicuser Linux - Newbie 5 03-13-2012 07:20 AM
help- how to reduce Size of Email attachment send via Crontab pnandak Linux - Newbie 18 02-29-2012 06:12 PM
Need script for automatic email reminders phantom_cyph Programming 1 03-27-2011 06:06 PM
Script run by crontab won't send email Braynid Linux - Newbie 1 12-21-2007 12:16 AM
send automatic input to a script called by another script in bash programming jorgecab Programming 2 04-01-2004 12:20 AM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration