crontab 卸载重装
时间: 2024-04-03 07:30:05 浏览: 285
以下是卸载和重装crontab的步骤[^1]:
1. 卸载crontab:
```shell
cd /application/jumpserver/
./service.sh stop
```
2. 重装crontab:
```shell
cd /opt/jumpserver
python manage.py crontab remove
python manage.py crontab add
```
3. 安装Jinja模块:
```shell
cd /server/tools
wget https://pypi.python.org/packages/47/83/679b5592feb54e948d6599edf5dac61d2991778c3ecbef6b8041663f4740/Jinja2-2.7.1.tar.gz
tar xf Jinja2-2.7.1.tar.gz
cd Jinja2-2.7.1
python setup.py install
```
阅读全文