Re: Automatic sendmail



Hi Shekhar
I'm not able to send via command line.
How do I use sendmail in command line ?
It only works in GUI.

Kobi




sdeshingkar@xxxxxxxxx כתב:
Check the details option about sendmail & put it into cron job.

suppose you want mail every one hour

first set the editor vi
#crontab -e <username> ----- to which user you want to set cron
edit it
0 1 * * * /usr/bin/mail......command ----- sendmail service should be
up.

save it
Check cron.allow entry for user is available in this file.by default
file is not there u need to edit it give the permissions

check whether cron job is added or not
#crontab -l username

If need any help pls mail at sdeshingkar@xxxxxxxxx

Thanks,
Shekhar


On Jan 25, 9:45 pm, Tony Curtis <tony_curti...@xxxxxxxxx> wrote:
Kobi wrote:
Hi

I need to configure how to schedule automatic send mail via sendmail.
In order to receive error logs.
It works fine manually.I'm guessing you're looking for cron:

man cron.1m

hth
t

.



Relevant Pages

  • Re: Access user input from command line
    ... I am trying to create a GUI with an edit box for user input ... below) in the command prompt or through other m files (I get ... % hObject handle to figure ...
    (comp.soft-sys.matlab)
  • Re: Put a command in the command window
    ... Since you are operating from a GUI, why not incorporate an edit box within ... hits the enter key and you simply do an EVAL on the string. ... intercept the paste command. ...
    (comp.soft-sys.matlab)
  • Re: Put a command in the command window
    ... > Since you are operating from a GUI, why not incorporate an edit box within ... > the gui that continually updates with the users selection. ... > hits the enter key and you simply do an EVAL on the string. ... > intercept the paste command. ...
    (comp.soft-sys.matlab)
  • Edit include directories/source files RTW
    ... I would like to edit these blocks, ... time workshop options from a command rather than through ... the GUI. ...
    (comp.soft-sys.matlab)
  • RE: custom firewall configuration
    ... Usually it is better to edit the /etc/sysconfig/iptables manually rather ... than add rules one by one via iptables command. ... I do not recommend to use the cron job which flushes iptables ...
    (RedHat)