crontab scheduled tasks

The command to view all scheduled tasks in linux is

crontab -l

Edit and add new cron task commands as

corntab -e

[root@kfdb ~]# crontab -l
* */3 * * * /usr/sbin/ntpdate time.windows.com
[root@kfdb ~]# crontab -e

 The page that appears after crontab -e is executed is, enter the time and execute the script to execute the scheduled task



 

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326708606&siteId=291194637
Recommended