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 17:03:16 +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 15:03:16 -0000 (UTC) Injection-Info: ns507557.dodin.fr.nf; posting-host="82-64-122-108.subs.proxad.net:82.64.122.108"; logging-data="15410"; mail-complaints-to="abuse" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Content-Language: fr In-Reply-To: Bytes: 1662 Lines: 25 Le 14/06/2022 à 13:29, Marc SCHAEFER a écrit : > jdd wrote: >> avec cron?? > > Si j'ai bien compris, cron lance un script, du style: > > #! /bin/bash > > (cat < Subject: Statistiques > From: Autobot > Approved: statistiques@dodin.nf.fr > Newsgroups: local.stats.moderated > Followup-To: local.stats > > EOF > ton-gros-scripts-qui-fait-des-stats) | inews -h heu... 0 3 * * * journalctl | grep "processed" jdd -- mon serveur dodin.fr.nf