On Mon, Oct 05, 2009 at 12:55 -0700, Austin Hook wrote:
> According to the man pages for "at" (or batch):
>
>      The working directory, the environment (except for the variables
>      TERM, TERMCAP, DISPLAY, and _), and the umask are retained from the
>      time of invocation.
>
> But, oddly enough, at the time of actual invocation it seems not to know
> this information:
>
> Script started on Mon Oct  5 12:09:21 2009
> $ echo echo hello >ee
> $ batch -f ee
> Cannot open input file: No such file or directory
> $ batch -f ~/ee
> commands will be executed using /bin/ksh
> job 1254766194.E at Mon Oct  5 12:09:54 2009
> $ exit
>
> Script done on Mon Oct  5 12:10:00 2009
>
> If the -f option requires a non-relative path spec. for the file, the
> manual does not say so, as far as I can see.
>
> Tested on 4.5 and 4.6.

AFAICT from at(1), the code is still mostly T-Rex's implementation.

You may want to have a look at https://launchpad.net/~at-ng for
a reimplementation from scratch,  The client side is mostly done
(still using directories and signals for communication with atd)
It doesn't build on openBSD though for reasons that will go away
when switching to a C/S approach RSN.

The server (atd) side will be working soon with communications using
Unix domain sockets.

Thanks for listening
  Siggy
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org+
|11 days until|bsb-at-psycho-dot-informationsanarchistik-dot-de|
|www.Ubucon.de|or:                bsb-at-psycho-dot-i21k-dot-de|
+-------> ceterum censeo javascriptum esse restrictam <--------+

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to