3 ms·
>$> crontab -l # start /etc/host blocking blocking social media every morning at 6 AM 0 6 * * 1-5 cd $HOME/src/host/ && /usr/bin/python ./updateHostFile.py --au
by doodlebugging 8y ago
>$> crontab -l
# start /etc/host blocking blocking social media every morning at 6 AM
0 6 * * 1-5 cd $HOME/src/host/ && /usr/bin/python ./updateHostFile.py --auto --extension social porn gambling fakenews
># reset /etc/host to allow social media after 8 PM
0 20 * * 1-5 cd $HOME/src/host/ && /usr/bin/python ./updateHostFile.py --auto --extension porn gambling faknews
I think this cron job is probably broken if it depends on this exact script working IRL.
The return to personal hours at 8 pm configuration has misspelled the "fakenews" filter list. Surely this generates an error.