Path: ...!weretis.net!feeder6.news.weretis.net!i2pn.org!dodin.fr.nf!.POSTED.82-64-122-108.subs.proxad.net!not-for-mail From: jdd Newsgroups: fr.comp.usenet.serveurs Subject: Re: poster avec cron Date: Tue, 14 Jun 2022 19:37:44 +0200 Organization: Le serveur de jdd pour fr* Message-ID: References: NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 14 Jun 2022 17:37:44 -0000 (UTC) Injection-Info: ns507557.dodin.fr.nf; posting-host="82-64-122-108.subs.proxad.net:82.64.122.108"; logging-data="18717"; mail-complaints-to="abuse" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 In-Reply-To: Content-Language: fr Bytes: 1699 Lines: 21 Le 14/06/2022 à 19:18, yamo' a écrit : > Salut, > > jdd a tapoté le 14/06/2022 17:03: >> 0 3 * * * journalctl | grep "processed" >> >> jdd > > cron ne connaît pas les variables d'environnement. > Il faut des chemins entiers. > mais ça marche parfaitement, j'obtiens avec juste ça un mail dans ma boite aux lettres avec tous les nocem "processed" je voudrais juste avoir un post sur un groupe au lieu d'un mail :-) merci jdd -- mon serveur dodin.fr.nf