This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
планирование_выполнения_заданий_в_linux [2021/10/04 13:27] val [Сервис cron] |
планирование_выполнения_заданий_в_linux [2022/12/18 07:26] val [Сервис cron] |
||
---|---|---|---|
Line 21: | Line 21: | ||
*/5 * * * * test `top -b -n 1 | grep Cpu | cut -d':' -f2 | cut -d. -f1` -gt 60 && ( date; ps awux ) >> /tmp/ps_cpu_hi.log | */5 * * * * test `top -b -n 1 | grep Cpu | cut -d':' -f2 | cut -d. -f1` -gt 60 && ( date; ps awux ) >> /tmp/ps_cpu_hi.log | ||
5-59/10 * * * * /etc/backup.sh | 5-59/10 * * * * /etc/backup.sh | ||
+ | |||
+ | # ls /var/spool/cron/ | ||
# crontab -r | # crontab -r |