Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #write out current crontab
- sudo crontab -l > rebootdaily
- #echo new cron into cron file
- echo "55 9 * * * ifconfig eth1 down" >> rebootdaily
- echo "0 10 * * * reboot" >> rebootdaily
- #install new cron file
- sudo crontab rebootdaily
- rm rebootdaily
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement