6 terminus
=`date +%s -d "$1"`
14 echo "No command specified." >&2
17 if [ $terminus -lt $now ]
23 at=`date -d @$terminus`
24 echo "Command scheduled to run at $at." >&2
27 while [ $terminus -gt $now ]
30 sleep $
[$terminus - $now]
46 fgat - Execute command in foreground at a given time
50 fgat <B<time-spec>> <B<command>> [B<arguments>]
54 In opposite of at(1), fgat(1) stays in console's foreground and waits for B<time-spec>, after that runs B<command>.
55 B<time-spec> can be any string accepted by date(1).