📜  crontab sudo 命令 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:23.697000             🧑  作者: Mango

代码示例1
//Anything you put into roots crontab will be run with elevated priviliges
sudo crontab -e

//Note: You shouldn't put "sudo" into any of the shell commands you add to roots
// crontab file, the commands will be run as root.