Please help me solve my issue on at command.
I am giving the below command and it is not executing.
# at now
at> ls -l > txt.txt
at> <EOT>
job 1 at 2016-04-27 11:31
when I try to read txt.txt, there is no such file.
Please help me solve my issue on at command.
I am giving the below command and it is not executing.
# at now
at> ls -l > txt.txt
at> <EOT>
job 1 at 2016-04-27 11:31
when I try to read txt.txt, there is no such file.
When using a scheduler, it is always a good idea to specify the full paths.
I suspect you're simply looking for the output in the wrong place or that you may not have write access to the output directory.
If you try the exact same command from outside at
, does it work? If not, please provide the permissions from the directory in question.
man at
, you'll find that e.g. the working directory and environment are preserved.