|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T c
Length: 820 (0x334) Types: TextFile Names: »cron.daily«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦2fafebccf⟧ »EurOpenD3/mail/smail3.1.19.tar.Z« └─⟦bcd2bc73f⟧ └─⟦this⟧ »samples/bigsite/bargw/news/cron.daily«
#ident "@(#)/usr/src/amdahl/cmd/smail/samples/bigsite/bargw/news/cron.daily 5.1 4/13/89 15:39:36" # The commands in this file should be executed from cron once per day, # probably in the wee hours of the morning when nothing is going on. LOGNAME=netnews LIB=/usr/local/lib/news smail=/usr/lib/smail editor=netnews # unbatch new map articles and make new maps (cd $smail; make -s) # show errors, if any if [ -s $smail/maps/world.err ] then cat $smail/maps/world.err fi # show differences, if any diff $smail/maps/O.world.path $smail/maps/world.path # send errors to editor, and accumulate a weekly batch if [ -s $LIB/errlog ] then cp $LIB/errlog $LIB/errlog.tmp && : > $LIB/errlog cat $LIB/errlog.tmp >> $LIB/errlog.week mailx -s "inews errors" $editor < $LIB/errlog.tmp && rm -f $LIB/errlog.tmp fi exit 0