11
rated 0 times
[
11]
[
0]
/ answers: 1 / hits: 3425
/ 2 Years ago, fri, september 30, 2022, 12:07:16
I added some commands to the bash script and those commands need root permission. So then I added sudo keyword to those commands. As the normal way, I added this script to the crontab file to automate my task.
Is there any way to give root access when it tries to run automatically?
Note: I'm using crontab to automate my script.
More From » bash