How can I schedule a command using
at without having to include the command in a distinct file, neither from the mini
at shell that reads from standard input?
That is, I want to execute the command:
find /path -name "pattern" > output.lst
after X minutes.
A plausible try was
at now +X minutes find /path -name "pattern" > output.lst
but obviously it did not work.
If you are wondering why I want something like this, is because I want to include it within a scirpt where X and "pattern" are parameters.