Google ne m'ayant pas gaté en chance , je me tourne vers vous.
1/ Sur SME 7.3 j'avais installé crontab_manager qui fonctionnait très bien.
j'avais paramétré l'exécution toutes les 5 min du script suivant :
- Code: Tout sélectionner
#!/bin/sh
find /home/e-smith/files/ibays/ -name "*.mp3" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.MP3" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.wma" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.WMA" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.ra" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.RA" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.ram" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.RAM" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.RM" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.rm" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.wmv" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.WMV" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.avi" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.mov" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.MOV" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "real*.exe" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.flv" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.FLV" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.rmj" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.RMJ" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.mp3" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.MP3" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.wma" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.WMA" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.ra" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.RA" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.ram" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.RAM" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.RM" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.rm" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.wmv" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.WMV" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.avi" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.mov" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.MOV" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "real*.exe" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.flv" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.FLV" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.rmj" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles/ -name "*.RMJ" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.mp3" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.MP3" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.wma" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.WMA" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.ra" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.RA" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.ram" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.RAM" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.RM" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.rm" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.wmv" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.WMV" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.avi" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.mov" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.MOV" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "real*.exe" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.flv" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.FLV" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.rmj" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.RMJ" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.*" -size 198927c -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.*" -size 154383c -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.*" -size 222207c -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.*" -size 173055c -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.*" -size 102400c -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*Old1*" -type f -exec rm {} \;
find /home/e-smith/files/users/ -name "*.*" -size 0 -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.*" -size 198927c -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.*" -size 154383c -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.*" -size 222207c -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.*" -size 173055c -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.*" -size 102400c -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*Old1*" -type f -exec rm {} \;
find /home/e-smith/files/ibays/ -name "*.*" -size 0 -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles -name "*Old1*" -type f -exec rm {} \;
find /home/e-smith/files/samba/profiles -name "*.*" -size 0 -type f -exec rm {} \;
Sur SME 7.4 , à cause de l'utf_8, cela ne marche pas , et je n'ai pas réussi à trouver la syntaxe cron pour toutes les 5 minutes -- çà ne me parle pas ... --
une âme charitable peut elle m'expliquer , merci .
2/
JE souhaite que certains pc de la boite où je bosse en tant qu'admin réseau , ne puissent àcceder sur internet qu'à google , et 2 sites de travail , avec le mail. Est-ce faisable ? Comment procéder , un add-on ?
J'utilise comme PDC , SME 7.4 à jour.
il fait office de controleur de domaine , serveur de messagerie et partage de fichiers.
Merci à vous Tous et vous souhaite une agréable journée.