I would like to make a sudo command (sudo service smbd restart) run after 1 minute of being logged on. How would I go about doing this?
P.S. This is a system with no monitor, mouse, keyboard or speakers connected - I's a printer and file server.
A) If it's at system start-up, add this to the end of your
B) if it's at user login, you need two steps:
(1) check if
Put this in the autorun programs or scripts executed at login time.