Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unix crontab-i给出非法选项和用法错误:无法识别选项用法_Unix_Cron - Fatal编程技术网

Unix crontab-i给出非法选项和用法错误:无法识别选项用法

Unix crontab-i给出非法选项和用法错误:无法识别选项用法,unix,cron,Unix,Cron,我最近建立了cron选项卡,为了更安全,我想在bash中的脚本中添加-I命令(以确认删除)。但是,当我运行crontab-I时,我得到: crontab: illegal option -- i crontab: usage error: unrecognized option usage: crontab [-u user] file crontab [-u user] { -e | -l | -r } 我浏览了很多网站,但从未找到为什么会发生这种情况的答案。他们列出了这个命令

我最近建立了cron选项卡,为了更安全,我想在bash中的脚本中添加
-I
命令(以确认删除)。但是,当我运行
crontab-I
时,我得到:

crontab: illegal option -- i
crontab: usage error: unrecognized option
usage: crontab [-u user] file
       crontab [-u user] { -e | -l | -r }
我浏览了很多网站,但从未找到为什么会发生这种情况的答案。他们列出了这个命令。发生了什么事?我如何修复?多谢各位