How the command "at" works?
Karl Auer
kauer at biplane.com.au
Sat Aug 6 15:38:04 UTC 2016
On Sat, 2016-08-06 at 10:26 -0500, Peng Yu wrote:
> > And if it is, do you need your atjobs to have ad hoc access to
> > any functions that happen to be defined by any user that happens to
> > create them, or do you need your atjobs to have access to a
> > particular set of functions?
> >
> Sorry. I mean the former not the latter.
That's fairly easy then. All you need to do is add a fixed "source
/path/to file" line to the output generated by at, pointing to a file
that you pre-populate with the functions (or anything else!) that you
need. And of course make the same mods I did so that bash is used as
the shell rather than sh.
It really would be a quick and easy mod.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
More information about the ubuntu-users
mailing list