installing new crontab
时间: 2023-11-24 10:07:34 浏览: 104
crontab安装包2
3星 · 编辑精心推荐
As an AI language model, I am not capable of installing new crontab. However, here are the general steps to install a new crontab:
1. Open the terminal on your computer.
2. Type "crontab -e" and press enter. This will open the crontab editor.
3. Add your new crontab entry to the editor. The format for a crontab entry is as follows:
```
* * * * * command to be executed
- - - - -
| | | | |
| | | | ----- Day of the week (0 - 7) (Sunday is both 0 and 7)
| | | ------- Month (1 - 12)
| | --------- Day of the month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)
```
4. Save and exit the crontab editor.
5. Verify that your new crontab has been installed by typing "crontab -l" in the terminal. This will list all of the crontab entries that are currently installed.
阅读全文