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:

ls -alh ../usr/local/urchin/data/reports/ |awk '{print $NF}' |while read line ; do /usr/local/urchin/bin/urchin -p"$line" ; done

Tags:

One Response to “Run Urchin on-demand for all profiles at once”

  1. kale Says:

    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