Deutsch   English   Français   Italiano  
<t8a7vk$f1i$2@ns507557.dodin.fr.nf>

View for Bookmarking (what is this?)
Look up another Usenet article

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 <jdd@dodin.org>
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: <t8a7vk$f1i$2@ns507557.dodin.fr.nf>
References: <t89mc5$9v4$1@ns507557.dodin.fr.nf>
 <t89na2$6nn$2@shakotay.alphanet.ch> <t89qpq$bbu$1@ns507557.dodin.fr.nf>
 <t89re6$rt3$1@shakotay.alphanet.ch>
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: <t89re6$rt3$1@shakotay.alphanet.ch>
Bytes: 1662
Lines: 25

Le 14/06/2022 à 13:29, Marc SCHAEFER a écrit :
> jdd <jdd@dodin.org> wrote:
>> avec cron??
> 
> Si j'ai bien compris, cron lance un script, du style:
> 
> #! /bin/bash
> 
> (cat <<EOF
> Subject: Statistiques
> From: Autobot <statistiques@dodin.nf.fr>
> 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