Approved: Fortect
Some readers recently reported that they stumbled upon bin e root not found ubuntu.
My cronjob sales are listed below and I get some kind of emails every day. Every night I try to restart my computer (Ubuntu 18.04). What is it about?
MAILTO = "[email protected]"30 2 * * 4 / usr / bin / letsencrypt update >> /var/log/le-renew.log0 4 * 2. * root / sbin / reboot
requested Seven Sep ’18 at 10:11
242
Not The Answer You Are Looking For? View Other Questions Using The 04/18 Cron Tag, Also Known As Ask A Question.
Cron jobs created with crontab -e
can run as a user whopublishes this manual and therefore owns this cron job. You can notprovide user on line
0 4 5. * * root / sbin / reboot
to run this task as root
. If so, manthat many more users can releaseExecute arbitrary commands. Nobody wouldI want it.
If you want to run the cronjob user as root
, someone must log out
sudo crontab -e
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
to edit the root crontab
– not yours. Delete the specification of the person concerned,those. add the following line:
0 4 * (space) * / sbin / reboot
But it is also possible to define cron jobsFiles in /etc/cron.d
. If the syntax is different for an elementand the first column after the hour should beThe user under whom some of the work will be performed. But only the syntax is applicablein the files in /etc/cron.d
.
replied on 7 September 18 at 10:37 am.
11.5k
Speed up your computer's performance now with this simple download.