is sendmail abs. needed to run "at" ?

is sendmail abs. needed to run "at" ?

Post by Peter Jord » Wed, 10 Apr 1996 04:00:00



I don't have sendmail running on my system yet ...
I see a bewildering array of versions to chooses from
and ..
anyway I need at or cron ..

Do I need sendmail to get them to run ?

I tried

at now + 2 minutes
ls > hereiam
^D

and it did not produce the hereiam file ...

PeterJordan

 
 
 

is sendmail abs. needed to run "at" ?

Post by Marshall Gigue » Wed, 10 Apr 1996 04:00:00


   I don't have sendmail running on my system yet ...
   I see a bewildering array of versions to chooses from
   and ..
   anyway I need at or cron ..

   Do I need sendmail to get them to run ?

   I tried

   at now + 2 minutes
   ls > hereiam
   ^D

   and it did not produce the hereiam file ...

   PeterJordan

If you are indeed using sendmail 8.x.x or better there is no need for
at or cron.  Sendmail can be started up in daemon mode, in your
start-up script, to run at specified intervals (every 15 min.).  For
example in my /etc/rc.d/rc.M file I have the following:

if [ -x /usr/sbin/sendmail ]; then
   echo "Starting sendmail daemon (/usr/sbin/sendmail -bd -q 15m)..."
   /usr/sbin/sendmail -bd -q 15m
fi