Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [at-command]

'at' reads commands from standard input or a specified file which is to be executed at a later time, using /bin/sh.

0
votes
1answer
24 views

Can I somehow make at print the hostname in the email with output?

I'm using at to run some commands. The output is emailed to the email-address in $HOME/.forward. But the problem is that nowhere in the email that is sent does it say which host had the issue (I have ...
0
votes
1answer
100 views

How to combine time and at command on ubuntu?

I have tried to combine time and at but it doesn't seem to be something that i wanted. time at now +2 min -f ./script.sh I wanted to know the script execution time. EDIT: I'm trying to run a normal ...
-1
votes
1answer
181 views

The tool called 'at' is not available on Ubuntu [duplicate]

I am running the latest Ubuntu on my server VPS on linode and I get this error when installing cronkeep Oh Snap! at is not available on this system. CronKeep uses this slick command ...
1
vote
3answers
3k views

How to make my Ubuntu 16.04 system display a to-do reminder?

Sometimes I get interrupted while programming and would like to have some sort of alarm function that can remind me to do sometihing important. I do not want to build a clock, nor do I want the kind ...
6
votes
2answers
665 views

`at` command: what is the meaning of the option `-w`?

I have a script that uses at command. And sometimes I receiving emails as this one: Date: Mon, 3 Jul 2017 14:18:00 +0300 (EEST) From: root <root@localhost.org> To: root@localhost.org Subject: ...
6
votes
1answer
686 views

How to send a notification using at command?

I have a bash script that runs periodically once a day using crontab. The script checks a condition, and if true, it should issue an at command at a specific time. at 14:10 <notify-send hello> ...
0
votes
1answer
80 views

See the output of a scheduled task in the terminal

Is it possible to see the outputs of tasks, that are schedule with "at" in real-time? Say, I want to see the values of my loss function as I train my network.
4
votes
2answers
175 views

Why can't I use bash freely after using the “At” utility? (Can't insert stdin until ctrl+c)

I ran the following code block (an at timeout to uninstall PHPmyadmin). It should be scheduled to run 2 horus ahead, but I ran it in a timeout of 2 minutes, just to test it: bash /dev/fd/50 50<<...
0
votes
2answers
182 views

CTRL+C doesn't help qutting “at” utility prompt. How to safely quit?

I ran the following code and when I reached the second heredoc I became stuck in an at prompt (see image below). How to safely quite from this (without braking anything)? The code: bash /dev/fd/40 ...
2
votes
0answers
309 views

at command in ubuntu error 'You do not have permission to use at'

Apologize in advance, I am pretty new at php and ubuntu. I have 2 servers set up, one for development and one for staging. On the dev machine I can use the at command without a problem, but on staging ...
1
vote
1answer
873 views

How to change the default shell of at command

when I want to delay the execution of a program using at, it precise me that warning: commands will be executed using /bin/sh How the change this default shell, to bash for instance ?
0
votes
2answers
35 views

appends n-th line from the file x at the end of the file y

I have been asked to write a command that appends the n-th line (MYN) from a file (x)to another file (y). Here's what I've done so far: MYN=4 hey=$(awk 'NR==$MYN' x) echo "$hey" >> y But why ...
3
votes
1answer
406 views

Understanding the at-command to schedule another command

I use cron to schedule things in Linux, but recently I discovered the "at" command. sudo apt-get install at I don't understand the scope from which this command operates: How would you schedule a ...
4
votes
1answer
913 views

Why my 'at' clause command execute the shell immediately and ignored the time limit?

I wrote a shell named t.sh It's content is: touch 88888 The command I'm using is sh t.sh | at 03:13Jun15 After I execute this command, I got this show on my screen: warning: commands will be ...