Redhat 建立计划任务

xiaoxiao2021-02-28  25

示例: 对natasha用户建立计划任务,要求在本地时间的每天14:23执行以下命令: /bin/echo “hello”

[root@desktop ~]# crontab -e -u natasha no crontab for natasha - using an empty one crontab: installing new crontab [root@desktop ~]# crontab -l -u natasha 23 14 * * * /bin/echo "hello" --> 这是写入的内容 [root@desktop ~]#
转载请注明原文地址: https://www.6miu.com/read-2627858.html

最新回复(0)