My local Tahoe node is configured for the volunteer grid.

This is a script I wrote I call "tahoe-repair-all":

------------------------------------------------------------------------
#!/bin/sh

for item in `tahoe list-aliases | cut -f 1 -d :`; do
        echo '*** '"$item"
        tahoe deep-check --repair --add-lease $item: | perl -pe 's/^/\t/'
        echo
done
------------------------------------------------------------------------

This is my crontab entry for it:

------------------------------------------------------------------------
30 6 * * *     . ~/.bashrc; tahoe-repair-all
------------------------------------------------------------------------

This is the email it sent me this morning:

------------------------------------------------------------------------
From:     [email protected]
Subject:  Cron <kpr...@216-171-189-244> . ~/.bashrc; tahoe-repair-all
Date:     October 17, 2009 6:30:06 EDT
To:       [email protected]

*** family
        done: 1 objects checked
         pre-repair: 1 healthy, 0 unhealthy
         0 repairs attempted, 0 successful, 0 failed
         post-repair: 1 healthy, 0 unhealthy

*** publish
        done: 5 objects checked
         pre-repair: 5 healthy, 0 unhealthy
         0 repairs attempted, 0 successful, 0 failed
         post-repair: 5 healthy, 0 unhealthy

*** tahoe-illustration
        done: 5 objects checked
         pre-repair: 5 healthy, 0 unhealthy
         0 repairs attempted, 0 successful, 0 failed
         post-repair: 5 healthy, 0 unhealthy
------------------------------------------------------------------------

-- 
Kevin Reid                                  <http://switchb.org/kpreid/>




_______________________________________________
tahoe-dev mailing list
[email protected]
http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to