My system for automatically posting future-dated blog posts mysteriously stopped working recently. The posts would appear if I manually published the blog, but not with the automatic scheduling mechanism.
schedule_publish.sh, I changed the line
echo "$0" | at -q g $time
if [ "$(date -d "$time PST" +'%s')" -ge "$now" ] then echo "$0" | at -q g -t "$(date +'%Y%m%d%H%M' -d "$time PST")" fi
PST" is the timezone of this blog; adjust as appropriate for
$now is initialized with
before the call to
make publish to avoid a race condition.