THC problem

More
2 years 4 months ago #302707 by PCW
Replied by PCW on topic THC problem
You don't need to chmod +x more than once so
chmod +x pinirq,txt in unnecessary (and will fail
because crontab has no idea where pinirq.txt is located)

Not sure about crontab and sudo
(will it ask you for a password during startup?)
So the systemd method of launching scripts at startup
may be better

Note that sudo ./pinirq.txt eth0 will fail because again crontab
does not know where pinirq.txt is located (you need a full path
or copy pinirq.txt to a standard executable directory like /user/bin/
Also pinirq.txt should probably be renamed just pinirq or pinirq.sh
(it only has the .txt suffix because that's required to be able to post it to the forum)

@reboot is what tells crontab to do the operation only at boot time

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #302709 by acourtjester
Replied by acourtjester on topic THC problem
How about @reboot (full path location) pinirq (renamed just ) pinirq
next line ./pinirq eth0

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #302710 by PCW
Replied by PCW on topic THC problem
@reboot  sudo pinirq eth0 

assuming pinirq is in /usr/bin/
The following user(s) said Thank You: acourtjester

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #302712 by acourtjester
Replied by acourtjester on topic THC problem
done deal I can move it and remove the .txt from it
Thanks

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310421 by Diegot
Replied by Diegot on topic THC problem
wow, thank you
my ping was 0.4s to the mesa card and went to 0.4ms

Please Log in or Create an account to join the conversation.

Time to create page: 0.367 seconds
Powered by Kunena Forum