Quote:
Originally Posted by rockymtngeek
I did leave that out in my reply but did enter it as such into crontab -e @reboot/root/noVNC.....etc. I was so excited that it finally worked that I missed typing that into the explanation.
|
I don't think you are understanding what they are asking. it sounds like you are running the command like this
Code:
crontab -e @reboot/root/noVNC
which will throw and error like this
Code:
~ $ crontab -e @reboot/root/noVNC
crontab: usage error: no arguments permitted after this option
usage: crontab [-u user] file
crontab [ -u user ] [ -i ] { -e | -l | -r }
(default operation is replace, per 1003.2)
-e (edit user's crontab)
-l (list user's crontab)
-r (delete user's crontab)
-i (prompt before deleting user's crontab)
You see how it through a error message. Anytime you run a command and it fails, give us the results of said message.
Now as to get your command to run via cron. Do this.
# crontab -e
Then it will open up the crontab in the default tab editors. Then put in the line of command you wish to run via cron.
Also you need to be informative about what Linux OS you are running. Crontab may not even be installed. You may need to install it. Your system could have anacron installed which is the same, but different in it's own way.
By the sound of it, it sounds like your rather new to Linux and I'm glad you are working with it. I suggest you check this site out.
http://www.tldp.org/ it has loads of helpful information for you.