simsek
  • Member for 3 years, 6 months
  • Last seen more than a month ago
Failed to start nginx.service: Interactive authentication required. with crontab
-1 votes

I agree with the comment that you should not do this by cron. However if you still insist, I think the problem happens as you do not get authorization by sudo -s command.

View answer