errors in crontab file, can't
时间: 2023-04-25 12:01:43 浏览: 59
如果 crontab 文件中有错误,导致无法运行,可以尝试检查文件中的语法错误或命令路径是否正确。您可以使用 "crontab -e" 命令编辑 crontab 文件,如果语法正确但仍然无法运行,可以尝试重启 cron 服务或服务器。另外,您也可以在命令行中直接运行需要执行的命令,以确定命令是否可正常运行。
相关问题
errors in crontab file, cant install
It sounds like there may be errors in your crontab file that are preventing installation. The crontab file is used to schedule automated tasks, and any errors in the file can cause issues with installation.
You can try checking your crontab file for errors by running the following command:
```
crontab -e
```
This will open your crontab file in the default text editor. Check the file for any syntax errors, such as missing or extra characters, and correct them if necessary.
Once you have corrected any errors, save the file and try to install again. If you continue to experience issues, you may want to consult with a technical expert for further assistance.
no crontab for root - using an empty one crontab: installing new crontab "/tmp/crontab.Ar0WMU":1: bad hour errors in crontab file, can't install.
这个错误通常出现在 crontab 文件中有错误的时间格式。请检查你的 crontab 文件中的时间格式是否正确。例如,时间格式应该是 0-59 的数字,而不是字符串。你也可以使用 crontab -e 命令编辑你的 crontab 文件,然后保存并退出。如果问题仍然存在,请尝试重新安装 cron 服务。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)