at command is not executed

后端 未结 5 992
攒了一身酷
攒了一身酷 2021-01-18 04:45

I am trying to make the at bash command to run, but it is not working for me. I can add a job to the queue, but it is not run when the time is up. What am I doi

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-18 05:02

    It is working fine. It's just that commands running with at don't write their output to the terminal that you called it from.

    Try:

    at now +2 minutes
    echo TTTEEEST > new_file_test
    

    You'll see the file appear in two minutes.

提交回复
热议问题