root/feedmelinks/bin/send-peeps-emails.sh

Revision 750, 272 bytes (checked in by hirokai, 3 years ago)

path updates for the fml/feedmelinks change

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/bin/sh
2
3 cd $HOME/feedmelinks.com
4 domain=`cat _config/domain.txt`
5
6 peeps=`ls usr/*/con* | xargs -n1 wc -l | grep -v " 0 " | awk '{print $2}' | sed "s:usr/::" | sed "s:/.*::"`
7 for p in $peeps
8 do
9         lynx --dump -accept_all_cookies "http://$domain/contacts/recent?u=$p"
10 done
Note: See TracBrowser for help on using the browser.