{"id":2820,"date":"2025-08-19T10:56:48","date_gmt":"2025-08-19T02:56:48","guid":{"rendered":"https:\/\/www.ruianding.com\/blog\/?p=2820"},"modified":"2026-02-07T15:10:29","modified_gmt":"2026-02-07T07:10:29","slug":"on-duty-larkbot-reminder-vol-2","status":"publish","type":"post","link":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/","title":{"rendered":"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 &#8211; \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09"},"content":{"rendered":"\n<p>\u6709\u65f6\u5019\uff0c\u6253\u5de5\u4eba\u9700\u8981\u7684\u4e0d\u53ea\u662f\u4e0b\u73ed\u5012\u8ba1\u65f6\uff0c\u8fd8\u6709\u4e00\u4e1d\u8d34\u5fc3\u7684\u5173\u6000\u3002\u4e8e\u662f\uff0c\u6211\u5728\u4e4b\u524d\u7684 <strong>\u725b\u9a6c\u4e13\u5217<\/strong> \u57fa\u7840\u4e0a\u52a0\u4e86\u65b0\u529f\u80fd\u2014\u2014<strong>\u5929\u6c14\u63d0\u9192<\/strong>\u3001<strong>\u70b9\u9910\u6d88\u606f\u5361\u7247<\/strong>\u3001<strong>\u5de5\u4f5c\u8fdb\u5ea6\u6761<\/strong>\u548c\u597d\u73a9\u7684<strong>\u968f\u673a\u63d0\u793a\u8bed<\/strong>\u3002<\/p>\n\n\n\n<p>\u5b83\u8fd8\u662f\u90a3\u4e2a\u6bcf\u5929\u51c6\u65f6\u5192\u51fa\u6765\u300c\u50ac\u66f4\u300d\u7684\u98de\u4e66\u673a\u5668\u4eba\uff0c\u4f46\u73b0\u5728\u5b83\u66f4\u61c2\u4f60\u3002<\/p>\n\n\n\n<p>\u4ee3\u7801\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/rainding0311\/lark_webhook_reminder\/tree\/main\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/rainding0311\/lark_webhook_reminder\/tree\/main<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u65b0\u529f\u80fd\u4e00\uff1a\u5348\u9910\u63d0\u9192\u5361\u7247\u4f18\u5316 \ud83c\udf71<\/strong><\/h2>\n\n\n\n<p>\u4e3a\u4e86\u8ba9\u5348\u9910\u63d0\u9192\u66f4\u65b9\u4fbf\uff0c\u725b\u9a6c\u4e13\u5217\u589e\u52a0\u4e86 <strong>\u4ea4\u4e92\u6309\u94ae<\/strong>\u3002\u4f60\u53ef\u4ee5\u5728\u98de\u4e66\u6d88\u606f\u91cc\u76f4\u63a5\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u4e00\u952e\u4e0b\u5355\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6838\u5fc3\u51fd\u6570<\/strong><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def send_card_with_buttons(header_title, color, text_content, buttons):\n    payload = {\n        \"msg_type\": \"interactive\",\n        \"card\": {\n            \"config\": {\"wide_screen_mode\": True},\n            \"elements\": [\n                {\"tag\": \"div\", \"text\": {\"tag\": \"lark_md\", \"content\": text_content}},\n                {\"tag\": \"action\", \"actions\": buttons}\n            ],\n            \"header\": {\"title\": {\"tag\": \"plain_text\", \"content\": header_title}, \"template\": color}\n        }\n    }\n    try:\n        response = requests.post(\n            WEBHOOK_URL,\n            headers={\"Content-Type\": \"application\/json\"},\n            data=json.dumps(payload),\n            timeout=5\n        )\n        if response.status_code == 200:\n            log(f\"[{header_title}] \u6d88\u606f\u5361\u7247\u53d1\u9001\u6210\u529f\")\n        else:\n            log(f\"[{header_title}] \u53d1\u9001\u5931\u8d25\uff1a{response.status_code} - {response.text}\")\n    except requests.exceptions.RequestException as e:\n        log(f\"[{header_title}] \u7f51\u7edc\u8bf7\u6c42\u5f02\u5e38: {e}\")<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5348\u9910\u63d0\u9192\u8c03\u7528\u793a\u4f8b<\/strong><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def lunch_reminder():\n    now = datetime.datetime.now()\n    earned = calc_earned(now)\n    text_content = (\n        f\"\ud83d\udcc5 \u73b0\u5728\u662f {now.strftime('%Y-%m-%d %H:%M')}\\n\"\n        \"\ud83c\udf71 \u9a6c\u4e0a\u5230\u996d\u70b9\u5566\uff0c\u8bb0\u5f97\u70b9\u5916\u5356\u6216\u8005\u51c6\u5907\u5348\u9910\uff5e\\n\"\n        f\"\ud83d\udcb0 \u4eca\u5929\u5df2\u7ecf\u6323\u4e86 **{earned:.2f} \u5143**\"\n    )\n\n    buttons = [\n        {\"tag\": \"button\", \"text\": {\"tag\": \"plain_text\", \"content\": \"\ud83d\udef5 \u53bb\u997f\u4e86\u4e48\"}, \"url\": \"https:\/\/h5.ele.me\", \"type\": \"default\"},\n        {\"tag\": \"button\", \"text\": {\"tag\": \"plain_text\", \"content\": \"\ud83c\udf54 \u53bb\u7f8e\u56e2\"}, \"url\": \"https:\/\/h5.waimai.meituan.com\/waimai\/mindex\/home\", \"type\": \"default\"}\n    ]\n\n    send_card_with_buttons(\"\ud83c\udf5c \u996d\u70b9\u63d0\u9192\", \"blue\", text_content, buttons)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"352\" src=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-1024x352.png\" alt=\"\" class=\"wp-image-2821\" srcset=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-1024x352.png 1024w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-300x103.png 300w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-768x264.png 768w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png 1316w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u8fd9\u6837\u5361\u7247\u4e0d\u4ec5\u63d0\u9192\u4f60\u5403\u996d\uff0c\u8fd8\u80fd\u4e00\u952e\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u5feb\u901f\u4e0b\u5355\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u65b0\u529f\u80fd\u4e8c\uff1a\u5929\u6c14\u63d0\u9192 \ud83c\udf24\ud83c\udf06<\/strong><\/h2>\n\n\n\n<p>\u725b\u9a6c\u4e13\u5217\u73b0\u5728\u652f\u6301 <strong>08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14<\/strong> \u548c <strong>18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14<\/strong>\uff0c\u8ba9\u4f60\u51fa\u95e8\u548c\u89c4\u5212\u4e0b\u73ed\u540e\u6d3b\u52a8\u90fd\u5fc3\u91cc\u6709\u6570\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5929\u6c14\u6570\u636e\u83b7\u53d6<\/strong><\/h3>\n\n\n\n<p>\u4f7f\u7528 <a href=\"https:\/\/open-meteo.com\/\">Open-Meteo<\/a> API \u83b7\u53d6 7 \u5929\u5929\u6c14\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">LAT = 31.16\nLON = 121.38\nWEATHER_API = f\"https:\/\/api.open-meteo.com\/v1\/forecast?latitude={LAT}&amp;longitude={LON}&amp;daily=temperature_2m_max,temperature_2m_min,precipitation_sum&amp;timezone=Asia%2FShanghai\"\n\ndef fetch_weather():\n    try:\n        resp = requests.get(WEATHER_API, timeout=5)\n        if resp.status_code == 200:\n            return resp.json()\n        else:\n            log(f\"\u5929\u6c14\u63a5\u53e3\u5931\u8d25: {resp.status_code}\")\n            return None\n    except Exception as e:\n        log(f\"\u5929\u6c14\u63a5\u53e3\u5f02\u5e38: {e}\")\n        return None<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u751f\u6210\u5929\u6c14\u63d0\u793a\u6587\u672c<\/strong><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def weather_message(date_str, temp_max, temp_min, precipitation):\n    tips = []\n    if temp_max >= 37:\n        tips.append(\"\ud83d\udd25 \u9ad8\u6e29\u9884\u8b66\uff0c\u6ce8\u610f\u9632\u6652\u9632\u4e2d\u6691\")\n    elif temp_min &lt;= 5:\n        tips.append(\"\u2744\ufe0f \u6c14\u6e29\u504f\u4f4e\uff0c\u6ce8\u610f\u4fdd\u6696\")\n    if precipitation >= 1:\n        tips.append(\"\u2614\ufe0f \u8bb0\u5f97\u5e26\u4f1e\")\n    if not tips:\n        tips.append(\"\ud83d\ude0a \u5929\u6c14\u4e0d\u9519\uff0c\u5fc3\u60c5\u8212\u7545\")\n    return [\n        f\"\ud83d\udcc5 \u65e5\u671f\uff1a{date_str}\",\n        f\"\ud83c\udf21\ufe0f \u6700\u9ad8\u6e29\uff1a{temp_max}\u00b0C\uff0c\u6700\u4f4e\u6e29\uff1a{temp_min}\u00b0C\",\n        f\"\ud83c\udf27\ufe0f \u964d\u6c34\u91cf\uff1a{precipitation}mm\",\n        \"\ud83d\udca1 \" + \"\uff0c\".join(tips)\n    ]<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14<\/strong><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def morning_weather_reminder():\n    weather = fetch_weather()\n    if not weather:\n        return\n    today = datetime.datetime.now().strftime(\"%Y-%m-%d\")\n    idx = weather[\"daily\"][\"time\"].index(today)\n    temp_max = weather[\"daily\"][\"temperature_2m_max\"][idx]\n    temp_min = weather[\"daily\"][\"temperature_2m_min\"][idx]\n    precipitation = weather[\"daily\"][\"precipitation_sum\"][idx]\n    content = weather_message(today, temp_max, temp_min, precipitation)\n    send_card(\"\ud83c\udf24 \u4eca\u65e5\u5929\u6c14\u63d0\u9192\", content, header_title=\"\ud83c\udf24 \u4eca\u65e5\u5929\u6c14\u63d0\u9192\", color=\"blue\")<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14<\/strong><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def evening_weather_reminder():\n    weather = fetch_weather()\n    if not weather:\n        return\n    tomorrow = (datetime.datetime.now() + datetime.timedelta(days=1)).strftime(\"%Y-%m-%d\")\n    idx = weather[\"daily\"][\"time\"].index(tomorrow)\n    temp_max = weather[\"daily\"][\"temperature_2m_max\"][idx]\n    temp_min = weather[\"daily\"][\"temperature_2m_min\"][idx]\n    precipitation = weather[\"daily\"][\"precipitation_sum\"][idx]\n    content = weather_message(tomorrow, temp_max, temp_min, precipitation)\n    send_card(\"\ud83c\udf06 \u660e\u65e5\u5929\u6c14\u63d0\u9192\", content, header_title=\"\ud83c\udf06 \u660e\u65e5\u5929\u6c14\u63d0\u9192\", color=\"purple\")<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u65b0\u529f\u80fd\u4e09\uff1a\u5de5\u4f5c\u8fdb\u5ea6\u6761\u3001\u968f\u673a\u9f13\u52b1\u8bcd<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"354\" src=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-6-1024x354.png\" alt=\"\" class=\"wp-image-2830\" srcset=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-6-1024x354.png 1024w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-6-300x104.png 300w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-6-768x265.png 768w, https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-6.png 1314w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>\u65b0\u589e\u8fdb\u5ea6\u6761 + \u767e\u5206\u6bd4<\/strong>\uff08\u57fa\u4e8e 9:00\u201318:00 \u5de5\u4f5c\u65f6\u957f 8 \u5c0f\u65f6\uff09<\/p>\n\n\n\n<p><strong>\u201c\u518d\u575a\u6301\u4e00\u4e0b\u201d\u6587\u6848\u6539\u6210\u968f\u673a\u63d0\u793a<\/strong>\uff08\u4ece\u4e00\u4e2a\u5019\u9009\u5217\u8868\u91cc\u968f\u673a\u6311\u9009\uff09<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def work_reminder():\n    now = datetime.datetime.now()\n    earned = calc_earned(now)\n\n    # \u4e0b\u73ed\u65f6\u95f4\n    start_time = now.replace(hour=9, minute=0, second=0, microsecond=0)\n    end_time = now.replace(hour=18, minute=0, second=0, microsecond=0)\n\n    # \u8fdb\u5ea6\u6761\u6bd4\u4f8b\n    total_seconds = (end_time - start_time).total_seconds()\n    worked_seconds = max(0, (now - start_time).total_seconds())\n    percent = min(1.0, worked_seconds \/ total_seconds if total_seconds > 0 else 0)\n    progress_bar = make_progress_bar(percent)\n    percent_str = f\"{int(percent * 100)}%\"\n\n    # \u5012\u8ba1\u65f6\n    remaining = end_time - now\n    hours, remainder = divmod(int(remaining.total_seconds()), 3600)\n    minutes, _ = divmod(remainder, 60)\n\n    # \u968f\u673a\u63d0\u793a\u8bed\n    tips = [\n        \"\u6478\u9c7c\u90fd\u6478\u7684\u6709\u5e95\u6c14\u4e86\",\n        \"\u6536\u5c3e\uff1f\u5c0f\u573a\u9762\uff01\u5e72\u5b8c\u76f4\u63a5\u6da6\",\n        \"\u952e\u76d8\u90fd\u5728\u6478\u9c7c\u5212\u6c34\",\n        \"\u522b\u50ac\uff01\u6d3b\u513f\u5728\u6536\u5c3e\uff0c\u6211\u7684\u5976\u8336\u5916\u5356\u6bd4\u6211\u8fd8\u6025\u7740\u4e0b\u73ed\",\n        \"\u518d\u575a\u6301\u4e00\u4e0b\uff0c\u7b49\u4f1a\u5c31\u80fd\u5feb\u4e50\u4e0b\u73ed\"\n        ]\n    tip_text = random.choice(tips)\n\n    send_card(\n        title=\"\u23f3 \u4e0b\u73ed\u5012\u8ba1\u65f6\",\n        content_lines=[\n            f\"\ud83d\udcc5 \u73b0\u5728\u662f {now.strftime('%Y-%m-%d %H:%M')}\",\n            f\"\u23f3 \u8ddd\u79bb\u4e0b\u73ed\u8fd8\u6709 **{hours} \u5c0f\u65f6 {minutes} \u5206\u949f**\",\n            f\"\ud83d\udcb0 \u4eca\u5929\u5df2\u7ecf\u6323\u4e86 **{earned:.2f} \u5143**\",\n            f\"\ud83d\udcca \u5de5\u4f5c\u8fdb\u5ea6\uff1a{progress_bar} {percent_str}\",\n            f\"\ud83d\udca1 {tip_text}\"\n        ],\n        header_title=\"\u23f3 \u4e0b\u73ed\u5012\u8ba1\u65f6\",\n        color=\"turquoise\"\n    )<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u63d0\u9192\u65f6\u95f4\u70b9\u6982\u89c8<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65f6\u95f4<\/th><th>\u63d0\u9192\u5361\u7247\u5185\u5bb9<\/th><\/tr><\/thead><tbody><tr><td>08:30<\/td><td>\u4eca\u65e5\u5929\u6c14\u63d0\u9192 \ud83c\udf24<\/td><\/tr><tr><td>10:50<\/td><td>\u5348\u9910\u63d0\u9192\uff08\u5e26\u6309\u94ae\uff09 \ud83c\udf71<\/td><\/tr><tr><td>13:00-17:00<\/td><td>\u4e0b\u5348\u6bcf\u4e2a\u6574\u70b9\u4e0b\u73ed\u5012\u8ba1\u65f6\u63d0\u9192 \u23f3<\/td><\/tr><tr><td>17:50<\/td><td>\u4e0b\u73ed\u524d 10 \u5206\u949f\u63d0\u9192 \ud83c\udfc1<\/td><\/tr><tr><td>18:00<\/td><td>\u660e\u65e5\u5929\u6c14\u63d0\u9192 \ud83c\udf06<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5feb\u901f\u8fd0\u884c<\/strong><\/h2>\n\n\n\n<p>1. \u5b89\u88c5\u4f9d\u8d56\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pip install requests<\/pre>\n\n\n\n<p>2. \u8fd0\u884c\u811a\u672c\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">python3 work_reminder_v3.py<\/pre>\n\n\n\n<p>3. \u5efa\u8bae\u7528 systemd \u6216 nohup \u5e38\u9a7b\u8fd0\u884c\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nohup python3 work_reminder_v3.py &amp;<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5c0f\u7ed3<\/strong><\/h2>\n\n\n\n<p>\u725b\u9a6c\u4e13\u5217\u7b2c\u4e8c\u7248\u4e0d\u4ec5\u5728\u996d\u70b9\u63d0\u9192\u4e0a\u589e\u52a0\u4e86\u4ea4\u4e92\u6309\u94ae\uff0c\u8ba9\u70b9\u9910\u66f4\u65b9\u4fbf\uff0c\u8fd8\u52a0\u5165\u4e86\u5929\u6c14\u63d0\u9192\uff0c\u8ba9\u4e0a\u73ed\u548c\u4e0b\u73ed\u7684\u51fa\u884c\u66f4\u667a\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u65f6\u5019\uff0c\u6253\u5de5\u4eba\u9700\u8981\u7684\u4e0d\u53ea\u662f\u4e0b\u73ed\u5012\u8ba1\u65f6\uff0c\u8fd8\u6709\u4e00\u4e1d\u8d34\u5fc3\u7684\u5173\u6000\u3002\u4e8e\u662f\uff0c\u6211\u5728\u4e4b\u524d\u7684 \u725b\u9a6c\u4e13\u5217 \u57fa\u7840\u4e0a\u52a0\u4e86\u65b0\u529f\u80fd\u2014\u2014\u5929\u6c14\u63d0\u9192\u3001\u70b9\u9910\u6d88\u606f\u5361\u7247\u3001\u5de5\u4f5c\u8fdb\u5ea6\u6761\u548c\u597d\u73a9\u7684\u968f\u673a\u63d0\u793a\u8bed\u3002 \u5b83\u8fd8\u662f\u90a3\u4e2a\u6bcf\u5929\u51c6\u65f6\u5192\u51fa\u6765\u300c\u50ac\u66f4\u300d\u7684\u98de\u4e66\u673a\u5668\u4eba\uff0c\u4f46\u73b0\u5728\u5b83\u66f4\u61c2\u4f60\u3002 \u4ee3\u7801\u5730\u5740\uff1ahttps:\/\/github.com\/rainding0311\/lark_webhook_reminder\/tree\/main \u65b0\u529f\u80fd\u4e00\uff1a\u5348\u9910\u63d0\u9192\u5361\u7247\u4f18\u5316 \ud83c\udf71 \u4e3a\u4e86\u8ba9\u5348\u9910\u63d0\u9192\u66f4\u65b9\u4fbf\uff0c\u725b\u9a6c\u4e13\u5217\u589e\u52a0\u4e86 \u4ea4\u4e92\u6309\u94ae\u3002\u4f60\u53ef\u4ee5\u5728\u98de\u4e66\u6d88\u606f\u91cc\u76f4\u63a5\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u4e00\u952e\u4e0b\u5355\u3002 \u6838\u5fc3\u51fd\u6570 \u5348\u9910\u63d0\u9192\u8c03\u7528\u793a\u4f8b \u8fd9\u6837\u5361\u7247\u4e0d\u4ec5\u63d0\u9192\u4f60\u5403\u996d\uff0c\u8fd8\u80fd\u4e00\u952e\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u5feb\u901f\u4e0b\u5355\u3002 \u65b0\u529f\u80fd\u4e8c\uff1a\u5929\u6c14\u63d0\u9192 \ud83c\udf24\ud83c\udf06 \u725b\u9a6c\u4e13\u5217\u73b0\u5728\u652f\u6301 08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14 \u548c 18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14\uff0c\u8ba9\u4f60\u51fa\u95e8\u548c\u89c4\u5212\u4e0b\u73ed\u540e\u6d3b\u52a8\u90fd\u5fc3\u91cc\u6709\u6570\u3002 \u5929\u6c14\u6570\u636e\u83b7\u53d6 \u4f7f\u7528 Open-Meteo API \u83b7\u53d6 7 \u5929\u5929\u6c14\uff1a \u751f\u6210\u5929\u6c14\u63d0\u793a\u6587\u672c 08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14 18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14 \u65b0\u529f\u80fd\u4e09\uff1a\u5de5\u4f5c\u8fdb\u5ea6\u6761\u3001\u968f\u673a\u9f13\u52b1\u8bcd \u65b0\u589e\u8fdb\u5ea6\u6761 + \u767e\u5206\u6bd4\uff08\u57fa\u4e8e 9:00\u201318:00 \u5de5\u4f5c\u65f6\u957f 8 \u5c0f\u65f6\uff09 \u201c\u518d\u575a\u6301\u4e00\u4e0b\u201d\u6587\u6848\u6539\u6210\u968f\u673a\u63d0\u793a\uff08\u4ece\u4e00\u4e2a\u5019\u9009\u5217\u8868\u91cc\u968f\u673a\u6311\u9009\uff09 \u63d0\u9192\u65f6\u95f4\u70b9\u6982\u89c8 \u65f6\u95f4 \u63d0\u9192\u5361\u7247\u5185\u5bb9 08:30 \u4eca\u65e5\u5929\u6c14\u63d0\u9192 \ud83c\udf24 10:50 \u5348\u9910\u63d0\u9192\uff08\u5e26\u6309\u94ae\uff09 \ud83c\udf71 13:00-17:00 \u4e0b\u5348\u6bcf\u4e2a\u6574\u70b9\u4e0b\u73ed\u5012\u8ba1\u65f6\u63d0\u9192 \u23f3 17:50 \u4e0b\u73ed\u524d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[13,1,10],"tags":[],"class_list":["post-2820","post","type-post","status-publish","format-standard","hentry","category-handyscripts","category-miscellaneous","category-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 - \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09 - \u6781\u7b80IT\uff5cSimpleIT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 - \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09 - \u6781\u7b80IT\uff5cSimpleIT\" \/>\n<meta property=\"og:description\" content=\"\u6709\u65f6\u5019\uff0c\u6253\u5de5\u4eba\u9700\u8981\u7684\u4e0d\u53ea\u662f\u4e0b\u73ed\u5012\u8ba1\u65f6\uff0c\u8fd8\u6709\u4e00\u4e1d\u8d34\u5fc3\u7684\u5173\u6000\u3002\u4e8e\u662f\uff0c\u6211\u5728\u4e4b\u524d\u7684 \u725b\u9a6c\u4e13\u5217 \u57fa\u7840\u4e0a\u52a0\u4e86\u65b0\u529f\u80fd\u2014\u2014\u5929\u6c14\u63d0\u9192\u3001\u70b9\u9910\u6d88\u606f\u5361\u7247\u3001\u5de5\u4f5c\u8fdb\u5ea6\u6761\u548c\u597d\u73a9\u7684\u968f\u673a\u63d0\u793a\u8bed\u3002 \u5b83\u8fd8\u662f\u90a3\u4e2a\u6bcf\u5929\u51c6\u65f6\u5192\u51fa\u6765\u300c\u50ac\u66f4\u300d\u7684\u98de\u4e66\u673a\u5668\u4eba\uff0c\u4f46\u73b0\u5728\u5b83\u66f4\u61c2\u4f60\u3002 \u4ee3\u7801\u5730\u5740\uff1ahttps:\/\/github.com\/rainding0311\/lark_webhook_reminder\/tree\/main \u65b0\u529f\u80fd\u4e00\uff1a\u5348\u9910\u63d0\u9192\u5361\u7247\u4f18\u5316 \ud83c\udf71 \u4e3a\u4e86\u8ba9\u5348\u9910\u63d0\u9192\u66f4\u65b9\u4fbf\uff0c\u725b\u9a6c\u4e13\u5217\u589e\u52a0\u4e86 \u4ea4\u4e92\u6309\u94ae\u3002\u4f60\u53ef\u4ee5\u5728\u98de\u4e66\u6d88\u606f\u91cc\u76f4\u63a5\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u4e00\u952e\u4e0b\u5355\u3002 \u6838\u5fc3\u51fd\u6570 \u5348\u9910\u63d0\u9192\u8c03\u7528\u793a\u4f8b \u8fd9\u6837\u5361\u7247\u4e0d\u4ec5\u63d0\u9192\u4f60\u5403\u996d\uff0c\u8fd8\u80fd\u4e00\u952e\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u5feb\u901f\u4e0b\u5355\u3002 \u65b0\u529f\u80fd\u4e8c\uff1a\u5929\u6c14\u63d0\u9192 \ud83c\udf24\ud83c\udf06 \u725b\u9a6c\u4e13\u5217\u73b0\u5728\u652f\u6301 08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14 \u548c 18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14\uff0c\u8ba9\u4f60\u51fa\u95e8\u548c\u89c4\u5212\u4e0b\u73ed\u540e\u6d3b\u52a8\u90fd\u5fc3\u91cc\u6709\u6570\u3002 \u5929\u6c14\u6570\u636e\u83b7\u53d6 \u4f7f\u7528 Open-Meteo API \u83b7\u53d6 7 \u5929\u5929\u6c14\uff1a \u751f\u6210\u5929\u6c14\u63d0\u793a\u6587\u672c 08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14 18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14 \u65b0\u529f\u80fd\u4e09\uff1a\u5de5\u4f5c\u8fdb\u5ea6\u6761\u3001\u968f\u673a\u9f13\u52b1\u8bcd \u65b0\u589e\u8fdb\u5ea6\u6761 + \u767e\u5206\u6bd4\uff08\u57fa\u4e8e 9:00\u201318:00 \u5de5\u4f5c\u65f6\u957f 8 \u5c0f\u65f6\uff09 \u201c\u518d\u575a\u6301\u4e00\u4e0b\u201d\u6587\u6848\u6539\u6210\u968f\u673a\u63d0\u793a\uff08\u4ece\u4e00\u4e2a\u5019\u9009\u5217\u8868\u91cc\u968f\u673a\u6311\u9009\uff09 \u63d0\u9192\u65f6\u95f4\u70b9\u6982\u89c8 \u65f6\u95f4 \u63d0\u9192\u5361\u7247\u5185\u5bb9 08:30 \u4eca\u65e5\u5929\u6c14\u63d0\u9192 \ud83c\udf24 10:50 \u5348\u9910\u63d0\u9192\uff08\u5e26\u6309\u94ae\uff09 \ud83c\udf71 13:00-17:00 \u4e0b\u5348\u6bcf\u4e2a\u6574\u70b9\u4e0b\u73ed\u5012\u8ba1\u65f6\u63d0\u9192 \u23f3 17:50 \u4e0b\u73ed\u524d [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6781\u7b80IT\uff5cSimpleIT\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-19T02:56:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-07T07:10:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1316\" \/>\n\t<meta property=\"og:image:height\" content=\"452\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ruian Ding\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ruian Ding\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\"},\"author\":{\"name\":\"Ruian Ding\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\"},\"headline\":\"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 &#8211; \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09\",\"datePublished\":\"2025-08-19T02:56:48+00:00\",\"dateModified\":\"2026-02-07T07:10:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\"},\"wordCount\":15,\"publisher\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\"},\"image\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-1024x352.png\",\"articleSection\":[\"HandyScripts\",\"Miscellaneous\",\"Tutorial\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\",\"url\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\",\"name\":\"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 - \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09 - \u6781\u7b80IT\uff5cSimpleIT\",\"isPartOf\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-1024x352.png\",\"datePublished\":\"2025-08-19T02:56:48+00:00\",\"dateModified\":\"2026-02-07T07:10:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage\",\"url\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png\",\"contentUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png\",\"width\":1316,\"height\":452},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ruianding.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 &#8211; \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/#website\",\"url\":\"https:\/\/www.ruianding.com\/blog\/\",\"name\":\"Ruian's Tech Troubleshooting Toolbox\",\"description\":\"Debug the World.\",\"publisher\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\"},\"alternateName\":\"\u4e01\u777f\u5b89\u7684\u6280\u672f\u5206\u4eab\u535a\u5ba2\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ruianding.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b\",\"name\":\"Ruian Ding\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png\",\"contentUrl\":\"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png\",\"width\":284,\"height\":284,\"caption\":\"Ruian Ding\"},\"logo\":{\"@id\":\"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"I am currently a Support Specialist at NIO, focusing on cloud-related issues for NIO Power. Previously, at Microsoft Entra ID, I specialized in identity and access management (IAM), including device registration, Windows Hello for Business (WHfB), multi-factor authentication (MFA), and single sign-on (SSO). In addition to my core expertise, I have a strong foundation in Active Directory, Servers, Cloud Computing, Network Administration, and Front-end Web Development. This diverse technical skill set enables me to effectively handle a wide range of challenges in a fast-paced IT environment.\",\"sameAs\":[\"https:\/\/www.ruianding.com\"],\"url\":\"https:\/\/www.ruianding.com\/blog\/author\/ruiand\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 - \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09 - \u6781\u7b80IT\uff5cSimpleIT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/","og_locale":"en_US","og_type":"article","og_title":"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 - \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09 - \u6781\u7b80IT\uff5cSimpleIT","og_description":"\u6709\u65f6\u5019\uff0c\u6253\u5de5\u4eba\u9700\u8981\u7684\u4e0d\u53ea\u662f\u4e0b\u73ed\u5012\u8ba1\u65f6\uff0c\u8fd8\u6709\u4e00\u4e1d\u8d34\u5fc3\u7684\u5173\u6000\u3002\u4e8e\u662f\uff0c\u6211\u5728\u4e4b\u524d\u7684 \u725b\u9a6c\u4e13\u5217 \u57fa\u7840\u4e0a\u52a0\u4e86\u65b0\u529f\u80fd\u2014\u2014\u5929\u6c14\u63d0\u9192\u3001\u70b9\u9910\u6d88\u606f\u5361\u7247\u3001\u5de5\u4f5c\u8fdb\u5ea6\u6761\u548c\u597d\u73a9\u7684\u968f\u673a\u63d0\u793a\u8bed\u3002 \u5b83\u8fd8\u662f\u90a3\u4e2a\u6bcf\u5929\u51c6\u65f6\u5192\u51fa\u6765\u300c\u50ac\u66f4\u300d\u7684\u98de\u4e66\u673a\u5668\u4eba\uff0c\u4f46\u73b0\u5728\u5b83\u66f4\u61c2\u4f60\u3002 \u4ee3\u7801\u5730\u5740\uff1ahttps:\/\/github.com\/rainding0311\/lark_webhook_reminder\/tree\/main \u65b0\u529f\u80fd\u4e00\uff1a\u5348\u9910\u63d0\u9192\u5361\u7247\u4f18\u5316 \ud83c\udf71 \u4e3a\u4e86\u8ba9\u5348\u9910\u63d0\u9192\u66f4\u65b9\u4fbf\uff0c\u725b\u9a6c\u4e13\u5217\u589e\u52a0\u4e86 \u4ea4\u4e92\u6309\u94ae\u3002\u4f60\u53ef\u4ee5\u5728\u98de\u4e66\u6d88\u606f\u91cc\u76f4\u63a5\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u4e00\u952e\u4e0b\u5355\u3002 \u6838\u5fc3\u51fd\u6570 \u5348\u9910\u63d0\u9192\u8c03\u7528\u793a\u4f8b \u8fd9\u6837\u5361\u7247\u4e0d\u4ec5\u63d0\u9192\u4f60\u5403\u996d\uff0c\u8fd8\u80fd\u4e00\u952e\u8df3\u8f6c\u5230\u5916\u5356\u5e73\u53f0\uff0c\u5feb\u901f\u4e0b\u5355\u3002 \u65b0\u529f\u80fd\u4e8c\uff1a\u5929\u6c14\u63d0\u9192 \ud83c\udf24\ud83c\udf06 \u725b\u9a6c\u4e13\u5217\u73b0\u5728\u652f\u6301 08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14 \u548c 18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14\uff0c\u8ba9\u4f60\u51fa\u95e8\u548c\u89c4\u5212\u4e0b\u73ed\u540e\u6d3b\u52a8\u90fd\u5fc3\u91cc\u6709\u6570\u3002 \u5929\u6c14\u6570\u636e\u83b7\u53d6 \u4f7f\u7528 Open-Meteo API \u83b7\u53d6 7 \u5929\u5929\u6c14\uff1a \u751f\u6210\u5929\u6c14\u63d0\u793a\u6587\u672c 08:30 \u63d0\u9192\u4eca\u65e5\u5929\u6c14 18:00 \u63d0\u9192\u660e\u65e5\u5929\u6c14 \u65b0\u529f\u80fd\u4e09\uff1a\u5de5\u4f5c\u8fdb\u5ea6\u6761\u3001\u968f\u673a\u9f13\u52b1\u8bcd \u65b0\u589e\u8fdb\u5ea6\u6761 + \u767e\u5206\u6bd4\uff08\u57fa\u4e8e 9:00\u201318:00 \u5de5\u4f5c\u65f6\u957f 8 \u5c0f\u65f6\uff09 \u201c\u518d\u575a\u6301\u4e00\u4e0b\u201d\u6587\u6848\u6539\u6210\u968f\u673a\u63d0\u793a\uff08\u4ece\u4e00\u4e2a\u5019\u9009\u5217\u8868\u91cc\u968f\u673a\u6311\u9009\uff09 \u63d0\u9192\u65f6\u95f4\u70b9\u6982\u89c8 \u65f6\u95f4 \u63d0\u9192\u5361\u7247\u5185\u5bb9 08:30 \u4eca\u65e5\u5929\u6c14\u63d0\u9192 \ud83c\udf24 10:50 \u5348\u9910\u63d0\u9192\uff08\u5e26\u6309\u94ae\uff09 \ud83c\udf71 13:00-17:00 \u4e0b\u5348\u6bcf\u4e2a\u6574\u70b9\u4e0b\u73ed\u5012\u8ba1\u65f6\u63d0\u9192 \u23f3 17:50 \u4e0b\u73ed\u524d [&hellip;]","og_url":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/","og_site_name":"\u6781\u7b80IT\uff5cSimpleIT","article_published_time":"2025-08-19T02:56:48+00:00","article_modified_time":"2026-02-07T07:10:29+00:00","og_image":[{"width":1316,"height":452,"url":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png","type":"image\/png"}],"author":"Ruian Ding","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ruian Ding","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#article","isPartOf":{"@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/"},"author":{"name":"Ruian Ding","@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b"},"headline":"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 &#8211; \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09","datePublished":"2025-08-19T02:56:48+00:00","dateModified":"2026-02-07T07:10:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/"},"wordCount":15,"publisher":{"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b"},"image":{"@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-1024x352.png","articleSection":["HandyScripts","Miscellaneous","Tutorial"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/","url":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/","name":"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 - \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09 - \u6781\u7b80IT\uff5cSimpleIT","isPartOf":{"@id":"https:\/\/www.ruianding.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage"},"image":{"@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4-1024x352.png","datePublished":"2025-08-19T02:56:48+00:00","dateModified":"2026-02-07T07:10:29+00:00","breadcrumb":{"@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#primaryimage","url":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png","contentUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2025\/08\/image-4.png","width":1316,"height":452},{"@type":"BreadcrumbList","@id":"https:\/\/www.ruianding.com\/blog\/on-duty-larkbot-reminder-vol-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ruianding.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\ud83d\udc02\ud83d\udc0e \u725b\u9a6c\u4e13\u5217 &#8211; \u7b2c\u4e8c\u8f91\uff1a\u98de\u4e66\u6253\u5de5\u63d0\u9192\u673a\u5668\u4eba \uff08\u70b9\u9910\u6d88\u606f\u5361\u7247\u4f18\u5316\u3001\u5929\u6c14\u63d0\u9192\u3001\u8fdb\u5ea6\u6761\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.ruianding.com\/blog\/#website","url":"https:\/\/www.ruianding.com\/blog\/","name":"Ruian's Tech Troubleshooting Toolbox","description":"Debug the World.","publisher":{"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b"},"alternateName":"\u4e01\u777f\u5b89\u7684\u6280\u672f\u5206\u4eab\u535a\u5ba2","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ruianding.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/440d88575b7dc819a4cefc8c4199db3b","name":"Ruian Ding","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png","contentUrl":"https:\/\/www.ruianding.com\/blog\/wp-content\/uploads\/2023\/05\/logo.png","width":284,"height":284,"caption":"Ruian Ding"},"logo":{"@id":"https:\/\/www.ruianding.com\/blog\/#\/schema\/person\/image\/"},"description":"I am currently a Support Specialist at NIO, focusing on cloud-related issues for NIO Power. Previously, at Microsoft Entra ID, I specialized in identity and access management (IAM), including device registration, Windows Hello for Business (WHfB), multi-factor authentication (MFA), and single sign-on (SSO). In addition to my core expertise, I have a strong foundation in Active Directory, Servers, Cloud Computing, Network Administration, and Front-end Web Development. This diverse technical skill set enables me to effectively handle a wide range of challenges in a fast-paced IT environment.","sameAs":["https:\/\/www.ruianding.com"],"url":"https:\/\/www.ruianding.com\/blog\/author\/ruiand\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts\/2820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/comments?post=2820"}],"version-history":[{"count":9,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts\/2820\/revisions"}],"predecessor-version":[{"id":2963,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/posts\/2820\/revisions\/2963"}],"wp:attachment":[{"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/media?parent=2820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/categories?post=2820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ruianding.com\/blog\/wp-json\/wp\/v2\/tags?post=2820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}