Article View: news.software.readers
Article #33235Re: scheduled postings software
From: Scott Norwood
Date: Tue, 29 Apr 1997 00:00
Date: Tue, 29 Apr 1997 00:00
47 lines
2562 bytes
2562 bytes
In article <slrn5mchd1.5ic.I-hate-cyber-promo@nessie.mcc.ac.uk>, A. Deckers <I-hate-cyber-promo@man.ac.uk> wrote: > >If you are refering to a group's FAQ, then one way to do it is to submit >the FAQ to the *.answers archive on rtfm.mit.edu and have that post it at >some regular interval specified by the author. See the guidelines posted >to news.answers for further information. Some FAQs are posted by the MIT FAQ-server, but not all are. The FAQ that I compile (for rec.arts.movies.tech) gets posted to r.a.m.t., news.answers, and rec.answers on the 15th of the month. I used to do this manually, but I became enlightened when I read 'man crontab.' I wrote the following script: -- begin script -- #!/bin/sh #post the rec.arts.movies.tech FAQ for monthly cron job /usr/local/bin/inews -h < ~snorwood/faq1.txt /usr/local/bin/inews -h < ~snorwood/faq2.txt /usr/local/bin/inews -h < ~snorwood/faq3.txt /usr/local/bin/inews -h < ~snorwood/faq4.txt -- end script -- I then but the four parts of the FAQ into the appropriate location, and added in the additional headers at the top of each file. I set up the crontab, and now, provided that some moron doesn't crack root on the server and do 'rm -rf /' (as happened last month...), everything runs by itself. >If you don't want to go to the trouble of submitting to the *.answers >team, then crontab is your friend. You'll probably need a Unix shell >account (though it may be possible to do this on a Windows machine; I'm >not sure) and to read the crontab manual page. Most ISP's, .edu accounts, and corporations offer UNIX shells to all users, so this shouldn't be a problem to implement. -- Scott Norwood: snorwood@nyx.net, snorwood@balloon.ml.org, senorw@mail.wm.edu Lame Home Page #1: http://balloon.ml.org/ <-- School year only Lame Home Page #2: http://www.nyx.net/~snorwood/ <-- Regular page Lame Quote: Penguins? In Snack Canyon?
Technical Details
Message-ID:
<5k5jlg$e6g17@wombat.wm.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<E9EytI.7yq@ul.ie> <slrn5mchd1.5ic.I-hate-cyber-promo@nessie.mcc.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <5k5jlg$e6g17@wombat.wm.edu> Subject: Re: scheduled postings software Date: Tue, 29 Apr 1997 00:00:00 +0000 From: snorwood@balloon.ml.org (Scott Norwood) References: <E9EytI.7yq@ul.ie> <slrn5mchd1.5ic.I-hate-cyber-promo@nessie.mcc.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 238232539 Organization: Society for World Domination Newsgroups: news.software.readers