Search code examples
at-job

echo "command" | at now - where does the output of command go


I have a code that does this. Command is a perl script. I don't see the output of that anywhere. Is there a log of at command somewhere which I can check. At is a the fairly common word so I get irrelevant hits on google. Man at does not give any information. Thanks for any answers


Solution

  • You can try redirecting the output to a file for easy access:

    echo "pwd >> /home/user/file.log" | at now