add cron
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-05 12:40:04 +09:00
parent 3becc75947
commit e73e9364cd
5 changed files with 23 additions and 5 deletions

6
periodic/daily/280blocker Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
echo "Updating 280blocker filter..."
FILTER_PATH="/var/www/html/_/280blocker.txt"
curl -sL "https://280blocker.net/files/280blocker_adblock_$(date +"%Y%m").txt" -o "$FILTER_PATH"