🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13327

Problems running news.daily from cron

#13327
From: Greg Francis
Date: Mon, 16 Dec 1996 00:00
43 lines
1902 bytes

I'm trying to set news.daily to expire articles every night. Here's my
crontab for the news account.

40 23 * * * /usr/local/news/bin/news.daily delayrm
10,30,50 * * * * /usr/local/news/bin/nntpsend

Here's what I get in my cron log file:

>  CMD: /usr/local/news/bin/nntpsend
>  news 5904 c Sun Dec 15 23:10:00 PST 1996
<  news 5904 c Sun Dec 15 23:10:05 PST 1996
>  CMD: /usr/local/news/bin/nntpsend
>  news 6970 c Sun Dec 15 23:30:00 PST 1996
<  news 6970 c Sun Dec 15 23:30:06 PST 1996
>  CMD: /usr/local/news/bin/news.daily delayrm
>  news 7442 c Sun Dec 15 23:40:00 PST 1996
<  news 7442 c Sun Dec 15 23:40:00 PST 1996 rc=1
>  CMD: /usr/local/news/bin/nntpsend
>  news 7989 c Sun Dec 15 23:50:00 PST 1996
<  news 7989 c Sun Dec 15 23:50:05 PST 1996

My nntpsend is working fine and I see that news.daily is getting invoked
but it's exiting immediately with a return code of 1. What's odd is that I
can run the exact same command from a shell with or without a & to put it
in the background.

[news]$ /usr/local/news/bin/news.daily delayrm &

I'm running this on a HP/UX 10.01 server.

If anyone has any ideas on how to fix this, I would greatly appreciate it.

Thanks,
Greg

-- 
Greg Francis                                Gonzaga University
Academic Support Specialist                 Spokane Washington
francis@gonzaga.edu

Technical Details
Message-ID: <francis-1612961211480001@147.222.4.250>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <francis-1612961211480001@147.222.4.250>
Subject: Problems running news.daily from cron
Date: Mon, 16 Dec 1996 00:00:00 +0000
From: francis@gonzaga.edu (Greg Francis)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 204447335
Distribution: inet
Organization: Gonzaga University
Newsgroups: news.software.nntp