+ set -Ceuo pipefail
+ PATH=/bin:/usr/bin:/usr/local/bin
+ TZ=UTC
+ export TZ
+ : p0
+ : /nwp
+ : /nwp/p0
++ date +%Y-%m-%d
+ : 2026-04-21
+ datedir=/nwp/p0/2026-04-21.new
+ export phase base reftime datedir nwp
+ test -f /nwp/bin/run-syndl-obs.sh
+ cd /nwp/p0
+ test -f stop
++ mkdir /nwp/p0/2026-04-21.new
+ mkdmsg=
+ : --- rotation 1: minimal renaming ---
++ readlink incomplete
+ incomplete=2026-04-20.new
++ basename 2026-04-20.new .new
+ yesterday=2026-04-20
+ '[' -d 2026-04-20.new ']'
+ mv -f 2026-04-20.new 2026-04-20
+ ln -Tfs 2026-04-20 latest
+ logger --tag run-prep --id=1558 -p news.info 'latest -> 2026-04-20, incomplete -> /nwp/p0/2026-04-21.new'
+ export yesterday
++ echo 'cd /nwp/p0; nwp=/nwp bash /nwp/bin/act-p0-housekeep.sh'
++ TZ=UTC
++ at -q Z 0:30
+ msg='warning: commands will be executed using /bin/sh
job 1012957 at Tue Apr 21 00:30:00 2026'
+ logger --tag run-prep --id=1558 -p news.info 'warning: commands will be executed using /bin/sh
job 1012957 at Tue Apr 21 00:30:00 2026'
+ ln -Tfs 2026-04-21.new incomplete
+ mkdir incomplete/logs
+ touch incomplete/logs-2026-04-21.tar
+ gdbm incomplete/pshb.db clear
+ chmod o+rw incomplete/pshb.db
+ ln -Tf incomplete/pshb.db incomplete/psbm-2026-04-21.db
+ '[' -f latest/jmx-2026-04-20.idx1 ']'
+ ruby /nwp/bin/idxshadow.rb latest/jmx-2026-04-20.idx1 incomplete/jmx-2026-04-21.idx1
+ '[' -f /nwp/bin/act-wxmon-housekeep.sh ']'
+ bash /nwp/bin/act-wxmon-housekeep.sh
/nwp/bin/tdif-pull.rb:23:in `<main>': empty input (RuntimeError)
<61>Apr 21 00:00:22 batch.sh[1227]: jobid=run-syndl-obs-20260421T0900_1227 rc=0 job=</nwp/bin/run-prep0.sh /nwp/bin/run-syndl-obs.sh>
