Thread View: news.software.nntp
2 messages
2 total messages
Started by root
Wed, 19 Apr 2000 00:00
Problems with slrn
Author: root
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
22 lines
1424 bytes
1424 bytes
1)I would like to see the dates of the articles. Is there a way to show this information in slrn? 2)I set up a script as root to be run every five minutes by the cron daemon. The command to run the script by cron is in the file called "root": /var/cron/tabs/root. The script contains the fetchnews command and checks and modifies an environmental variable which indicates the status of /dev/modem. But when the script is run every five minutes I get the error in the mailbox - "fetchnews unknown command" and the environmental variable is ignored. Why is this happening? Is there some way to "pass" the environmental variable to the script or is this a fundamental limitation to cron jobs? Thanks -- George Bell
Re: Problems with slrn
Author: Sylvain Robitaille
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
37 lines
2291 bytes
2291 bytes
[ crossposted to news.software.readers and followups sent there, since that's the group where this should have gone in the first place. ] On Wed, 19 Apr 2000 09:35:34 -0400, root@idora.thecellar.org wrote: > 1)I would like to see the dates of the articles. > Is there a way to show this information in slrn? Press 't' while viewing an article. That will (t)oggle the display of all headers. > 2)I set up a script as root to be run every five > minutes by the cron daemon. ... The script contains the > fetchnews command and checks and modifies an > environmental variable which indicates the status > of /dev/modem. But when the script is run every five > minutes I get the error in the mailbox - "fetchnews > unknown command" and the environmental variable is > ignored. Why is this happening? Is there some way to > "pass" the environmental variable to the script or is > this a fundamental limitation to cron jobs? You can "export" the environment variable you need your script to see. See the manual page for sh for further details about that. Fetchnews? Is that a locally written script? If it makes any difference, I find Slrnpull works just fine... -- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ----------------------------------------------------------------------
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