echo $1>/tmp/wt$$$
date >>/tmp/wt$$$
ed - /tmp/wt$$$
2s/... ... [0123456789 ].//
s/\([^:]*:[^:]*\):.*/\1/
1,$s/:/ 60*60*/
1,$s/$/ 60*+/
a
-d[24 60* 60*+]sa0>ad[65535p-]sa65535<apq
.
w
q
dc</tmp/wt$$$>/tmp/runat$$$
ed - /tmp/runat$$$
1,$s/.*/sleep &; \\/
1s/^/( /
w
q
echo $$2 ';' exit ')&' >>/tmp/runat$$$
nohup sh /tmp/runat$$$ $$1
rm -f /tmp/runat$$$ /tmp/wt$$$
