[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Envio de mail desde cron



Espero que te sirva:

      # use /bin/bash to run commands, instead of the default /bin/sh
      SHELL=/bin/bash

      # mail any output to `paul', no matter whose crontab this is
      MAILTO=paul@example.com

      #
      # run five minutes after midnight, every day
      5 0 * * *       $HOME/bin/daily.job >> $HOME/tmp/out 2>&1

Saludos!

El 24/05/07, Maxi <mgoldsmid@gmail.com> escribió:
Hola gente,

Como puedo hacer para que los mails que envia el cron que son enviados
a root@domain.com sean enviados a root@localhost ???

Maxi.


--
To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Reply to: