Views:
2,780
Votes: 1
✅ Solution
Tags:
networking
cron
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/862173
Title:
Crontab not working @reboot with macchanger
ID:
/2016/12/19/Crontab-not-working-@reboot-with-macchanger
Created:
December 19, 2016
Edited: December 22, 2016
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Commands have to be prefixed with the directory name and parameters have to be enclosed in double quotes. Assuming your macchanger
resides in the regular path, create a file (with any name) in the /etc/cron.d
directory containing:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ``` @reboot root sleep 15 @reboot root macchanger "-r eth0" ```