Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Re: Task Scheduler + Ad Block

$
0
0

I'm sure you resolved this issue since it's a year old, but since I can't find it documented anywhere I'll document how I did this.

 

  1. Go to system / task-scheduler / task
  2. Add a new task named UpdateAdblock, (DO NOT USE SPACES)
  3. Click Update List
  4. Go to system / task-scheduler / task / UpdateAdblock
  5. Enter your crontab-spec 17 2 * * * this will update daily at 2:17 am
  6. Go to system / task-scheduler / task / UpdateAdblock / executable
  7. Specifiy the full path of the executable /config/user-data/update-adblock-dnsmasq.sh (not the working directory)
  8. Preview and Apply

 

Using spaces in the task names on EdgeRouter X v1.9.0 generated an executable not found error for me, so I think there is a bug in the code.


Viewing all articles
Browse latest Browse all 60861

Trending Articles