Files
MemRelay/projects/6f47523e-e22e-4cdd-bd18-76e5e474ee0c/路由器已设置每周一北京时间10点自动重启.md
T

20 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 路由器已设置每周一北京时间10点自动重启
type: fact
permalink: main/projects/6f47523e-e22e-4cdd-bd18-76e5e474ee0c/路由器已设置每周一北京时间-10-点自动重启
stable_id: 9510062c-1e2f-4760-a745-94c7cabc8f02
scope: project
project_id: 6f47523e-e22e-4cdd-bd18-76e5e474ee0c
memory_type: fact
status: active
revision: 1
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
created_at: '2026-09-23T15:00:05.469926+00:00'
updated_at: '2026-09-23T15:00:05.469985+00:00'
tags:
- router
- cron
- verified
---
2026-09-16用户明确要求在路由器后台每周一早上10点自动重启。已在192.168.32.1的root crontab部署:0 10 * * 1 /usr/bin/logger -t scheduled-reboot "Weekly Monday 10:00 reboot"; /bin/sleep 2; /bin/sync; /sbin/reboot。确认设备时区Asia/Shanghai、CST-8(UTC+8),按北京时间执行。原crontab为空,备份为/root/router-logs/crontab.before-20260916。已crontab读回确认仅一条任务;cron已enable并重启,ubus显示crond running,无解析报错。只重启cron服务,未执行reboot,路由器uptime保持约55分钟。任务会先记录scheduled-reboot标记、等待2秒和sync,再正常重启。配置位于/etc/crontabs/root并跨重启保留,可在LuCI系统/计划任务查看。下次计划为2026-09-21周一10:00 Asia/Shanghai。这是路由器自身cron,不是Codex自动化。