My PC is really messed up, and I need to run su -c "/etc/init.d/networking restart" about once every hour. How do I do so? I’m running Ubuntu Server Nov. 2011, and am comfortable with bash. I also have ~4 ttys that are unused, if the process is a while loop.
Thank You in Advance,
ME
Use Cron. Thats a time based job scheduler. http://en.wikipedia.org/wiki/Cron