the mistake took place a command in sudo from crontab

When I execute covering, yet it is executed by cron "sudo : sorry, you have to have a tty to run sudo" shows up. yet just how should this have dealt?

2019-12-02 02:53:50
Source Share
Answers: 1

You do not require sudo to run programs as various other customers in cron (at the very least with the system crontab).

Simply transform the customer area from origin to the target customer.

If you actually desire su does operate in cron.

2019-12-03 04:26:41