VPS侦探论坛

 找回密码
 注册
查看: 3753|回复: 4

[提问] 站长可以问个 linux 的问题吗?

[复制链接]
发表于 2021-6-16 00:41:24 | 显示全部楼层 |阅读模式

crond -l 2 -b就是这句话是啥意思?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-6-16 08:07:21 | 显示全部楼层


https://www.runoob.com/linux/linux-comm-crontab.html
类似进程守护
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-6-16 08:42:43 | 显示全部楼层

蛋蛋的蛋 发表于 2021-6-16 08:07
https://www.runoob.com/linux/linux-comm-crontab.html
类似进程守护

我百度了这个是类似于定时任务,但是这句话是啥意思??是不是执行完成后就不执行了?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-6-16 10:51:37 | 显示全部楼层



crond 是守护进程,而且也没有-l、-b 这些参数
[root@vpser ~]# crond -h
Usage:
crond [options]

Options:
-h         print this message
-i         deamon runs without inotify support
-m <comm>  off, or specify prefered client for sending mails
-n         run in foreground
-p         permit any crontab
-P         use PATH="/usr/bin:/bin"
-c         enable clustering support
-s         log into syslog instead of sending mails
-x <flag>  print debug information

Debugging flags are: ext,sch,proc,pars,load,misc,test,bit


只要按 https://www.vpser.net/manage/crontab.html 设置好了就可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-6-16 12:37:29 | 显示全部楼层

licess 发表于 2021-6-16 10:51
crond 是守护进程,而且也没有-l、-b 这些参数

好的,谢谢版主,我再研究下

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-5-19 05:08 , Processed in 0.026519 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表