PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > If I want my Linux machine sends an automatic e-mail everytime machine boots?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

If I want my Linux machine sends an automatic e-mail everytime machine boots?

Réponse
 
LinkBack Outils de la discussion
Vieux 22/09/2006, 05h56   #1
GS
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut If I want my Linux machine sends an automatic e-mail everytime machine boots?

If I want my Linux machine sends an automatic e-mail everytime machine
boots?, where to keep a command, any idea?. Thanks in advance. I need
to keep a command (Mail -s "booted" xyz@xyz.com < message.txt).

  Réponse avec citation
Vieux 22/09/2006, 09h01   #2
ynotssor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: If I want my Linux machine sends an automatic e-mail everytime machine boots?

"GS" <globalswamy@hotmail.com> wrote in message
news:1158901008.513594.242850@k70g2000cwa.googlegr oups.com

> If I want my Linux machine sends an automatic e-mail everytime machine
> boots?, where to keep a command, any idea?. Thanks in advance. I need
> to keep a command (Mail -s "booted" xyz@xyz.com < message.txt).


Put the command at the end of one of your startup scripts after the network
interface is configured and up. Which one depends on your distro (which you
don't mention) and what type of network interface is required to send the
mail.

This has nothing to do with sendmail however, so it's not clear why you ask
in this forum?

mail -s "booted `date`" xyz@xyz.com < message.txt

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h10.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08358 seconds with 10 queries