🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Greg Francis Mon, 16 Dec 1996 00:00
Problems running news.daily from cron
#13327
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads