cron related

https://www.express.nec.co.jp/linux/distributions/knowledge/system/crond.html

 

Create two test scripts
test.sh
test1.sh in the /etc/cron.daily/ directory
Note: chmod +x test.sh test1.sh

edit /etc/crontab
50 16 * * * root run-parts /etc/cron.daily

After 16:50, the scripts under cron.daily were executed successfully. If you can't run a folder without using run-parts, the verbose path of the script that must be executed

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326238059&siteId=291194637