at command not working
Hi
When i m trying to run at command, its not working. The way I have done this is: at 06:58 December 06. at> top at> Ctrl+D Pls help me to solve this. |
What exactly do you expect from what you are trying to do?
at runs in the background, which makes no sense for top. |
I was just exercising on at command, want to know how this works. I am expecting the output of top command or any other on my screen.
If not possible, where at is basically used? |
I use at like an ad hoc cron - it's great for running a script, or wget, but it runs in the background
|
At is commonly used for one-off commands that don't
require interaction. In other words: anything one would use cron for if it were repeated. E.g.you want to reboot a non mission critical machine on the weekend w/o having to come in (except for if it doesn't come up and needs interaction). |
Thanks. it was helpful.
|
Quote:
To allow a regular user to use at, you need to add your user ID to /etc/at.allow. If /etc/at.allow doesn't exist, create it like so echo "username" > /etc/at.allow Just replace username with your actual user ID. - Goodluck |
Of course his problem there and then he scheduled a job
for 2 years ago ... |
All times are GMT -5. The time now is 12:28 PM. |