I have a call to a python script that is sudo -u user_name python python_scipt.py and I need to schedule it to run every 30 minutes with crontab. The problem is how can I authenticate it with sudo on crontab?
I have a call to a python script that is sudo -u user_name python
Share
Everything solved with the
sudo crontab -u username -ecredits to 9000