时地方
This commit is contained in:
@@ -133,4 +133,35 @@ ls -lh /home/ubuntu/nanocode/backup_logs/
|
||||
2. **增加监控**:可以添加cron任务执行状态监控
|
||||
3. **定期清理**:日志文件可能需要定期清理
|
||||
|
||||
需要我帮你检查某个特定任务的执行情况,或者调整cron配置吗?
|
||||
需要我帮你检查某个特定任务的执行情况,或者调整cron配置吗?
|
||||
|
||||
|
||||
完成!**3个任务已暂停(注释)**:
|
||||
|
||||
| 原时间 | 已暂停的任务 | 脚本路径 |
|
||||
| ----- | ---------------------------- | ------------------------------------------------------------------------------------- |
|
||||
| 10:00 | 小红书热点趋势自动化 | `/home/ubuntu/nanocode/xhs_trending_automation/scripts/scheduler.sh` |
|
||||
| 16:00 | IT资讯自动化 (InformationCrawler) | `/home/ubuntu/.nanobot/workspace/InformationCrawler/main_scheduler_with_xhs_fixed.sh` |
|
||||
| 16:00 | IT资讯自动化完整版 | `/home/ubuntu/nanocode/it_automation_enhanced/scripts/main_scheduler_complete.sh` |
|
||||
|
||||
---
|
||||
|
||||
**文件路径汇总**:
|
||||
```bash
|
||||
# 10:00 任务
|
||||
/home/ubuntu/nanocode/xhs_trending_automation/scripts/scheduler.sh
|
||||
|
||||
# 16:00 任务(2个)
|
||||
/home/ubuntu/.nanobot/workspace/InformationCrawler/main_scheduler_with_xhs_fixed.sh
|
||||
/home/ubuntu/nanocode/it_automation_enhanced/scripts/main_scheduler_complete.sh
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**恢复方法**(以后想恢复时执行):
|
||||
```bash
|
||||
# 取消注释(去掉行首的 #)
|
||||
crontab -l | sed 's/^# \(0 \(10\|16\) \* \* \*.*\)/\1/' | crontab -
|
||||
```
|
||||
|
||||
需要现在恢复吗?还是保持暂停?
|
||||
Reference in New Issue
Block a user