Je recois 2x par heure le même mail du serveur dedié !

[quote=“TrashHard”]Ha le package s’est effectivement pas désinstallé :

Quand tu fais apt-get remove php5-snmp tu le fais bien en root ? Tu peux donner le résultat de cette commande ?

Merci,[/quote]

En root via SSH :

root@ns3025206:/etc/cron.hourly# apt-get remove php5-snmp
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
Les paquets suivants seront ENLEVÉS :
php5-snmp
0 mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à jour.
Après cette opération, 64,5 ko d’espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données… 41586 fichiers et répertoires déjà installés.)
Suppression de php5-snmp (5.6.14+dfsg-0+deb8u1) …
php5_invoke prerm: Disable module snmp for cli SAPI
php5_invoke prerm: Disable module snmp for apache2 SAPI
Traitement des actions différées (« triggers ») pour libapache2-mod-php5 (5.6.14 +dfsg-0+deb8u1) …

C’est bon il l’a supprimé tu avais du faire une erreur de syntax tu ne devrais plus avoir les mails :slightly_smiling:

Ben non je recois toujours les mails (j’ai même fait un reboot)

Donne le retour de

[quote=“grandtoubab”]Donne le retour de

/etc/crontab: system-wide crontab

Unlike any other crontab you don’t have to run the `crontab’

command to install the new version when you edit this file

and files in /etc/cron.d. These files also have username fields,

that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""

m h dom mon dow user command

17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.monthly )

*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

A savoir que la tache s’éxecute toute les heures 09,39

[quote=“lecogiteur”][quote=“grandtoubab”]Donne le retour de

/etc/crontab: system-wide crontab

Unlike any other crontab you don’t have to run the `crontab’

command to install the new version when you edit this file

and files in /etc/cron.d. These files also have username fields,

that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""

m h dom mon dow user command

17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.monthly )

*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

A savoir que la tache s’éxecute toute les heures 09,39[/quote]

C’est quoi cette ligne?
*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

tu l’as rajoutée toi-même??
si tu voulais la masquer c’est raté il faut l’écrire comme ça
#*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

[quote=“grandtoubab”][quote=“lecogiteur”][quote=“grandtoubab”]Donne le retour de

/etc/crontab: system-wide crontab

Unlike any other crontab you don’t have to run the `crontab’

command to install the new version when you edit this file

and files in /etc/cron.d. These files also have username fields,

that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""

m h dom mon dow user command

17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.monthly )

*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

A savoir que la tache s’éxecute toute les heures 09,39[/quote]

C’est quoi cette ligne?
*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

tu l’as rajoutée toi-même??
si tu voulais la masquer c’est rater il faut ecrire comme ça
#*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null[/quote]

Heuu non mais je vais la modifier

[quote=“lecogiteur”][quote=“grandtoubab”][quote=“lecogiteur”][quote=“grandtoubab”]Donne le retour de

/etc/crontab: system-wide crontab

Unlike any other crontab you don’t have to run the `crontab’

command to install the new version when you edit this file

and files in /etc/cron.d. These files also have username fields,

that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""

m h dom mon dow user command

17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.monthly )

*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

A savoir que la tache s’éxecute toute les heures 09,39[/quote]

C’est quoi cette ligne?
*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

tu l’as rajoutée toi-même??
si tu voulais la masquer c’est rater il faut ecrire comme ça
#*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null[/quote]

Heuu non mais je vais la modifier[/quote]
Mais tu sais à quoi ça sert??

il faut aussi que tu vérifies sur ton user. Sans etre root

[quote=“grandtoubab”][quote=“lecogiteur”][quote=“grandtoubab”][quote=“lecogiteur”][quote=“grandtoubab”]Donne le retour de

/etc/crontab: system-wide crontab

Unlike any other crontab you don’t have to run the `crontab’

command to install the new version when you edit this file

and files in /etc/cron.d. These files also have username fields,

that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""

m h dom mon dow user command

17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repor t /etc/cron.monthly )

*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

A savoir que la tache s’éxecute toute les heures 09,39[/quote]

C’est quoi cette ligne?
*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null

tu l’as rajoutée toi-même??
si tu voulais la masquer c’est rater il faut ecrire comme ça
#*/1 * * * * root /usr/local/rtm/bin/rtm 12 > /dev/null 2> /dev/null[/quote]

Heuu non mais je vais la modifier[/quote]
Mais tu sais à quoi ça sert??[/quote]

Pour ne pas raconter n’importe quoi non (je débute)
C’est pour çà que je ne l’aurais pas modifier je l’ai donc remis comme tu le conseilles

Et celle de ton utilisateur?

[quote=“grandtoubab”]il faut aussi que tu vérifies sur ton user. Sans etre root

Pas de crontab …

OK comme c’est php c’est peut-etre ça
craym.eu/tutoriels/developpemen … t_php.html

[quote=“grandtoubab”]OK comme c’est php c’est peut-etre ça
craym.eu/tutoriels/developpemen … t_php.html[/quote]

apparemment php5 a son propre script dans /etc/cron.d/

sous root

root@desktop:/# ls /etc/cron.d/ anacron

tu dois avoir un fichier php5 en plus voir cette discussion
forum.ovh.com/archive/index.php/t-20521.html

[quote=“grandtoubab”][quote=“grandtoubab”]OK comme c’est php c’est peut-etre ça
craym.eu/tutoriels/developpemen … t_php.html[/quote]

apparemment php5 a son propre script dans /etc/cron.d/

sous root

root@desktop:/# ls /etc/cron.d/ anacron

tu dois avoir un fichier php5 en plus voir cette discussion
forum.ovh.com/archive/index.php/t-20521.html[/quote]

Alors j’ai un fichier php5 qui contiens :

/etc/cron.d/php5: crontab fragment for php5

This purges session files in session.save_path older than X,

where X is defined in seconds as the largest value of

session.gc_maxlifetime from all your SAPI php.ini files

or 24 minutes if not defined. The script triggers only

when session.save_handler=files.

WARNING: The scripts tries hard to honour all relevant

session PHP options, but if you do something unusual

you have to disable this script and take care of your

sessions yourself.

Look for and purge old sessions every 30 minutes

MAILTO=""

et un autre mdamd qui contiens :

cron.d/mdadm – schedules periodic redundancy checks of MD devices

Copyright © martin f. krafft madduck@madduck.net

distributed under the terms of the Artistic Licence 2.0

By default, run at 00:57 on every Sunday, but do nothing unless the day of

the month is less than or equal to 7. Thus, only run on the first Sunday of

each month. crontab(5) sucks, unfortunately, in this regard; therefore this

hack (see #380425).

57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +%d) -le 7 ]$

Donc
soit tu les sauve dans ton home et tu les retire de cron.d
soit tu essais de voir pourquoi ç a envoit des mails

[quote=“grandtoubab”]Donc
soit tu les sauve dans ton home et tu les retire de cron.d
soit tu essais de voir pourquoi ç a envoit des mails[/quote]

Tu penses que c’est le fichier : /etc/cron.d/php5 qui est en cause ?

[quote=“lecogiteur”][quote=“grandtoubab”]Donc
soit tu les sauve dans ton home et tu les retire de cron.d
soit tu essais de voir pourquoi ç a envoit des mails[/quote]

Tu penses que c’est le fichier : /etc/cron.d/php5 qui est en cause ?[/quote]
tu le sais très bien puisque tu dissimules le fichier que tu as modifié

[quote=“grandtoubab”][quote=“lecogiteur”][quote=“grandtoubab”]Donc
soit tu les sauve dans ton home et tu les retire de cron.d
soit tu essais de voir pourquoi ç a envoit des mails[/quote]

Tu penses que c’est le fichier : /etc/cron.d/php5 qui est en cause ?[/quote]
tu le sais très bien puisque tu dissimules le fichier que tu as modifié[/quote]

Je dissimule ? !!

Et pour tester je l’ai purement et simplement supprimer et le problème reste…

Tu peux donner le résultat des commande suivantes :

Merci,