Questions tagged [at-job]

"at" is a classic Unix command that read commands from standard input (or a specified file) which are to be executed at a later time, using /bin/sh. Use this tag for questions related to programmatic use of "at"; trouble shooting and general usage questions might be better suited for Super User or Unix & Linux.

at is used to schedule commands for one-time execution, as opposed to jobs, which are run at regular intervals.

Relevant links

Related tags

97 questions
0
votes
0 answers

How to delay a php execution with "at" and keep sudo rights

I didn't find what I'm searching for, so, here I am. I try to delay a script.php execution to "now + 1 minutes" with the "at" unix command, keeping the sudo rights My problem is that this script.php, executed by "at", doesn't have the rights to…
JessyLenne
  • 36
  • 2
0
votes
2 answers

Echoing 'at' command in terminal fails

The following should print "hello" (or some reminder) on my Linux command line at 9:00 AM today: $ at 9:00AM warning: commands will be executed using /bin/sh at> echo "hello" at> However, at the specified time, nothing happens. I have an…
martz
  • 839
  • 6
  • 21
0
votes
2 answers

Can the Linux "at" command run in environments other than /bin/sh?

I need a scheduler (for one time only actions) for a site I'm coding (in php), and I had two ideas: 1- Run a php script with crontab and verify against a database of scheduled actions and execute ones that are older than current time. 2- Schedule…
drakenation
  • 195
  • 2
  • 13
0
votes
1 answer

Bash - Using the AT command without a file

It might sound odd, but I need to run the AT command and schedule a command but I don't want to make a file and send it to AT with the -f option. Is it somehow possible to write the whole thing in one single line. Suppose I want to run the…
Auxiliary
  • 2,687
  • 5
  • 37
  • 59
-1
votes
2 answers

Add at command to docker

Hello i want to add At command to docker container. I am using linux alpine . I tried to use apk add at andapk add atd it is giving me the same error. ERROR: unsatisfiable constraints: atd (missing): required by: world[atd] Is there a way to fix…
Houssein Zouari
  • 712
  • 6
  • 18
-1
votes
1 answer

How do you use the AT command?

I would count myself as a intermediate programmer but for some reason I don't know how to use the AT command. What is it? How do I use it? Can someone show me an example of the AT command in a BATCH file? Thanks, Jake
Jake
  • 1
-1
votes
1 answer

"output from your job" after set ssmtp at a specific time

I have a script that executes the program and send outputs via email to designated individuals. To The script ran fine, just as expected, but after every script there is an auxiliary email sent to @gmail.com I have tried to play…
kensaii
  • 314
  • 5
  • 16
1 2 3 4 5 6
7