Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Adding TORblock to crontab

jseidl edited this page Jun 14, 2012 · 1 revision

It is a good idea to put the TORBlock script into your crontab setup so the exit-node list gets updated oftenly.

Adding to a user's crontab file

  1. Open your crontab file for editting crontab -e
  2. Add the crontab line for hourly updates 0 */1 * * * root /usr/bin/torblock.sh

Adding to the cron.hourly file

  1. Create a file named torblock.cron inside /etc/cron.hourly
  2. Add the following to the torblock.cron file:

torblock.cron

#!/bin/bash
./path/to/torblock.sh