Auto-sync: 2026-02-21 07:00:01

This commit is contained in:
Windmill Bot
2026-02-21 07:00:01 +00:00
parent 1876548656
commit 6aa109b628
2 changed files with 10 additions and 5 deletions

View File

@@ -15,8 +15,13 @@ def main():
line_to = wmill.get_variable("u/admin/LINE_TO") line_to = wmill.get_variable("u/admin/LINE_TO")
# 前回実行時刻を取得(初回は現在時刻 - 10分 # 前回実行時刻を取得(初回は現在時刻 - 10分
state = wmill.get_state() or {} try:
last_checked = state.get("last_checked_at") last_checked = wmill.get_variable("u/admin/SHIRAOU_LAST_CHECKED_AT")
if not last_checked:
last_checked = None
except Exception:
last_checked = None
if last_checked: if last_checked:
since = last_checked since = last_checked
else: else:
@@ -51,7 +56,7 @@ def main():
print("[通知] 変更なし、通知スキップ") print("[通知] 変更なし、通知スキップ")
# 正常完了時のみ状態更新 # 正常完了時のみ状態更新
wmill.set_state({"last_checked_at": checked_at}) wmill.set_variable("u/admin/SHIRAOU_LAST_CHECKED_AT", checked_at)
print(f"[通知] last_checked_at更新: {checked_at}") print(f"[通知] last_checked_at更新: {checked_at}")
return { return {

View File

@@ -5,8 +5,8 @@ locks:
'f/app_custom/system_heartbeat__flow+step2:_データ検証.py': d7f4e6e04ed116ba3836cb32793a0187a69359a3f2a807b533030b01d42bed39 'f/app_custom/system_heartbeat__flow+step2:_データ検証.py': d7f4e6e04ed116ba3836cb32793a0187a69359a3f2a807b533030b01d42bed39
'f/app_custom/system_heartbeat__flow+step3:_httpヘルスチェック.py': 5d3bce0ddb4f521444bf01bc80670e7321933ad09f935044f4d6123c658ca7a8 'f/app_custom/system_heartbeat__flow+step3:_httpヘルスチェック.py': 5d3bce0ddb4f521444bf01bc80670e7321933ad09f935044f4d6123c658ca7a8
'f/app_custom/system_heartbeat__flow+step4:_年度判定_&_最終レポート.py': 6889bfac9a629fa42cf0505cbc945ba3782c59e1697b8493ce6101ef5ffa8b32 'f/app_custom/system_heartbeat__flow+step4:_年度判定_&_最終レポート.py': 6889bfac9a629fa42cf0505cbc945ba3782c59e1697b8493ce6101ef5ffa8b32
f/shiraou/shiraou_notification__flow+__flow_hash: d8268404f9c59e04cbf16e9d05c90412e054b5e9e369e24b070234ca89708b0c f/shiraou/shiraou_notification__flow+__flow_hash: 94825ff4362b6e4b6d165f8e17a51ebf8e5ef4da3e0ec1407a94b614ecab19dd
f/shiraou/shiraou_notification__flow+変更確認・line通知.py: abf0f2f17f9d4f85677db9f98a5a6368d4cb4a68a9611809afbee00528692b17 f/shiraou/shiraou_notification__flow+変更確認・line通知.py: ac80896991cce8132cfbf34d5dae20d3c09de5bc74a55c500e4c8705dd6a9d88
g/all/setup_app__app+__app_hash: d71add32e14e552d1a4c861c972a50d9598b07c0af201bbadec5b59bbd99d7e3 g/all/setup_app__app+__app_hash: d71add32e14e552d1a4c861c972a50d9598b07c0af201bbadec5b59bbd99d7e3
g/all/setup_app__app+change_account.deno.ts: 3c592cac27e9cdab0de6ae19270bcb08c7fa54355ad05253a12de2351894346b g/all/setup_app__app+change_account.deno.ts: 3c592cac27e9cdab0de6ae19270bcb08c7fa54355ad05253a12de2351894346b
u/admin/hub_sync: aaf9fd803fa229f3029d1bb02bbe3cc422fce680cad39c4eec8dd1da115de102 u/admin/hub_sync: aaf9fd803fa229f3029d1bb02bbe3cc422fce680cad39c4eec8dd1da115de102