Sujet : Re: poster avec cron
De : schaefer (at) *nospam* alphanet.ch (Marc SCHAEFER)
Groupes : fr.comp.usenet.serveursDate : 15. Jun 2022, 14:04:29
Autres entêtes
Organisation : Posted through ALPHANET
Message-ID : <t8chsd$k5o$1@shakotay.alphanet.ch>
References : 1 2 3 4 5 6 7
User-Agent : tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64))
jdd <
jdd@dodin.org> wrote:
je ne suis pas sur d'être clair. Si je peux créer un message (avec bash,
pour faire simple), je pourrai appeler un script avec cron
Tu trouves un exemple ici:
https://git.alphanet.ch/gitweb/?p=alphanet-faq;a=blob;f=scripts/tests/cancel-lock/test-article.shil utilise le template:
https://git.alphanet.ch/gitweb/?p=alphanet-faq;a=blob;f=scripts/tests/cancel-lock/templates/test-articleTu peux enlever la partie cancel-lock et tee et juste piper le sed à
inews -h.
J'ai fait un exemple plus simple dans ce thread.