[Noffle-users] tell me new groups, oh every 20 days
Brought to you by:
bears
From: Dan J. <ji...@dm...> - 2003-04-13 02:42:03
|
Gentlemen, let's stay informed of new groups, say in a mail message to ourselves oh, every 20 days or so. Let's assume we don't want to use our newsreader's newgroups presentation facilities, and instead want notices mailed every 20 days. It would be nice if there were $ noffle -g -cdate -20 where we could list groups created less than 20 days ago. (I'm using find(1) notation.) I would call it from anacron, oh every 18 days or something. But no, there isn't yet. So, ok, a possible first attempt at a once a month noffle check maybe is #m=$(date +%Y-%m -d last\ month) echo A month\'s of new newsgroups, with date of creation at front m=$(date +%Y-%m) noffle -g|awk '$7~/'$m'/{print (substr($7,9)),$1}'|sort -k 2 echo Not sure about the last days of the month, here executing from \ /etc/cron.monthly/ Hmmm, need a '-newer file" so we can check against a timestamp file so we don't miss any between cracks, in case we take a 21 day vacation, etc. -- http://jidanni.org/ Taiwan(04)25854780 |