Run Urchin on-demand for all profiles at once

There’s no built-in way in Urchin to re-run the processing job for all domains (such as after fixing a problem). This can, however, be done on the command line with a while loop:

[code lang=”bash”]ls -alh ../usr/local/urchin/data/reports/ |awk ‘{print $NF}’ |while read line ; do /usr/local/urchin/bin/urchin -p”$line” ; done[/code]

One Comments

  • kale

    February 8, 2010

    Yes, I realize this looks dumb. urchin won’t accept input from a glob and requires the specific syntax (note no space after the -p switch).

Leave a Reply