Questions tagged [at]

`at` is a Unix command that can be used to run other commands at a specified time.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

BigSur: at: Operation not permitted

How would I fix this on macOS 11 $ at 0200 at: cannot open lockfile /usr/lib/cron/jobs/.lockfile: Operation not permitted This started to happen after accidentally dismissing an incessant prompt ...
0
votes
0answers
4 views

Sendmail fails on raspberry pi to log errors from 'at' jobs

I am trying to check the errors produced by 'at' jobs. I installed sendmail, but I see this message in /var/syslog raspberrypi sendmail[961]: My unqualified host name (raspberrypi) unknown; sleeping ...
0
votes
1answer
37 views

How to run `say` at a specified time with `at` on macOS?

Running echo "say hello" | at now+1 on macOS should enqueue a task to be executed one minute in the future: saying hello. Issuing say hello works fine, as does echo "touch a-file" |...
4
votes
1answer
157 views

MacOS - "at" command is not working

I've started the atrun daemon using the following command. $ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist Added my username to /var/at/at.allow file. $ cat /var/at/at....
0
votes
0answers
7 views

Warning message from `at` to notify the shell

On CentOS 8, I got a message as below when running at. How can I suppress the warning message? warning: commands will be executed using /bin/sh
1
vote
1answer
19 views

Do any linux systems depend on at (atd) for system functionality? I want to disable it

I have a cubieboard (an SBC, like a raspberry pi) that I'm using in an embedded application. While testing a box before shipping I noted unacceptable lag in the user interface. Investigation turned ...
1
vote
1answer
58 views

scheduling job with at specifying timezone - "refusing to create job destined in the past"

I'm trying to specify a timezone for at so I can use it in a bash script and not have to worry about adjusting it twice a year, and getting this error: at: refusing to create job destined in the past ...
0
votes
1answer
70 views

Ubuntu: Running a GUI application using the at command

How can I run an app showing a GUI (e.g. Chrome, Spotify etc.) at a specified time using the at command? Just doing echo "/path/to/spotify" | at now doesn't work. Edit: I also tried echo &...
1
vote
1answer
144 views

'at' command not working in arch linux

When I schedule a task using at in Arch Linux it doesn't get executed when its time to but it does get removed from the queue. Here is an example of me scheduling a task. at now + 2 min warning: ...
0
votes
1answer
60 views

notify-send Works From Shell Session, Not From Script

I am using at in coordination with notify-send/dunst as a form of reminders for myself. In an interactive bash session, doing: $ echo 'notify-send "Test"' | at 12:45PM works just fine and I see the ...
1
vote
2answers
96 views

Schedule a job with at command

Hello I have written a script and I want to schedule it to run at a certain time with the at command. I also want to use an argument in order to pass the time I want in the script so it can be ...
0
votes
0answers
35 views

DOS at command scheduling

I wanted to make a schedule that runs a (backupping) .bat program using at command on startup. If it isn't possible, then at 5 PM sunday.
7
votes
1answer
278 views

'at' command intended behaviour? Launching each commands instead of scheduling

I'm trying to schedule the execution of some programs. I'm using this command: ./tests.o | at 15:00& If I understood correctly, the intended behaviour was to delay execution until 15:00. However ...
2
votes
0answers
330 views

The 'say' command is not working with the 'at' command

I'm running macOS 10.13.5, and I want the Mac to say something, such as the current time, with the at command for the specified time. I have already loaded the atrun daemon, and the following command ...
0
votes
1answer
33 views

Evaluate date at "at" command scheduled time

I use a script file to run some tasks using the AT command, but in the log file the date echoed is the date when I set up AT command not the execution date. What can I do to display the actual time ...
0
votes
1answer
1k views

How to run a periodic scheduled job without at or cron

Scenario: You have a user with no access to cron and need to schedule a job (say an rsync of a directory). The use of at is not an option as you don't have a fixed end date. While I bet there are ...
0
votes
0answers
70 views

atd creating processes with low priority

I'm queuing up some long-running PHP processes in atd to be run at a later time. However, when atd fires up the process for the task, it keeps creating the tasks as low priority. I come back to find ...
8
votes
2answers
373 views

Peek at `at` output before it completes

Let's say I run a script with at on Linux (example below) that I know is going to take several hours, or maybe even multiple days. I'm accustomed to at sending an email with the output of the command ...
0
votes
1answer
471 views

how to see the output of a cron/at jobs while it is still running?

The output of a cron or atq job is automatically send by email to the user, when the job is finished. However I am running a time consuming script, and I would like to check that it is running ...
0
votes
1answer
216 views

Shell Script excuted fail in Linux at command

When I run a Linux "at" command,I find the user's shell script executed fail, for example,I write the following code in my script #!/bin/csh #or #!/bin/bash echo "Now will excute a shell script" ...
1
vote
1answer
47 views

Alternative `batch` command for resources rather than load

I like the at and batch commands for scheduling long running tasks I do not plan to stick around to see. But my longest running tasks share resources other than just the CPU (databases, free disk ...
3
votes
0answers
142 views

Does the `at` command run missed jobs?

If I use at to schedule a command and the trigger time is missed (e.g. due to an unexpected power failure), will it still execute at the earliest possible time? (e.g. once power comes back on and it ...
3
votes
1answer
107 views

How to run overdue at jobs

Sometimes I have at jobs overdue after system-suspend that don't run after waking up. How can I tell atd to run them? I tried atd -s or atrun but I guess that isn't meant for this as it doesn't run ...
1
vote
0answers
204 views

at sends a BCC to an address that doesn't exist

I'm running some pretty long tasks at work and I want to be warned when they finish, wherever I am, so I use at -m with sSMTP to get a notification on my Gmail address. It's my first time playing ...
1
vote
1answer
63 views

Programs for contolling the execution of bash scripts [closed]

Can anyone recommend a GUI based program to control the execution of bash scripts according to time/interval? I'm already familiar with both cron and at and looking for recommended alternatives. A ...
1
vote
2answers
2k views

Linux at command hangs?

I'm having a problem with the Linux 'at' command, and it's quite tough to Google 'at'.. The problem is that whatever I run, it doesn't seem to ever stop. e.g. here is a simple script I made (I ...
0
votes
0answers
147 views

Linux at command won't run the job in the past, lists it for tomorrow

I am trying to run a series of commands using at in about half an hour. However, at will either schedule it for tomorrow (if I don't specify today's date). If I do specify the date, it says it won't ...
2
votes
1answer
662 views

Does anyone have a Windows “at /every:” example to explain how to setup a batch file to run the first sunday of every month?

This is the one I have to run first day of the month, but I need to run it the first sunday of every month. at 13:00 /every:1 D:\DBMaintenance\MySc.bat Thanks
0
votes
1answer
52 views

Run PHP at specific time - oneliner

I'm trying to run some code that sends an SMS at a specific time in the future. All on one line... Here's my command line command: php -r 'include_once("/home/eamorr/open/open.ie/www/newsite/ajax/...
2
votes
1answer
593 views

How can I start/enable `at` on MacOSX?

I just noticed that at jobs submitted in my terminal on MacOSX are never executed: $ atq 2 Fri Feb 7 12:07:00 2014 3 Mon Feb 10 10:36:00 2014 4 Sun Mar 9 09:59:00 2014 5 Mon Mar 10 13:39:00 ...
1
vote
1answer
441 views

Can 'at' command keep on working after ssh connection broke?

I'm using ssh to connect to a remote server. And I execute at 03:13Jun12 -f t.sh would the remote host run this 't.sh' at 03:13 Jun 12 even if I broke this ssh connection? ( Assume the remote host ...
0
votes
2answers
168 views

User-friendly wrapper or replacement for `at` command under OS X

I often want my computer to automatically add something to my to-do list at some point in the future. In some cases I want to add the same thing at regular intervals. In these cases I use OS X's ...
3
votes
1answer
54 views

Puzzle of atrm vs at -d

I've found some puzzle with atrm command I can't understand. The man page for at says that atrm is an alias for at -d. The file /usr/bin/atrm command says that it is a symbolic link to at. Now if ...
1
vote
0answers
884 views

How can I call phones from my pc using a mobile phone connected to my pc?

I mean this question in abstract for usb/bluetooth connected featurephones and dumbphones. But also specially for this mobile phone: Motorola RAZR V3i I have computers running debian and ubuntu, can ...
1
vote
1answer
1k views

Windows run job by id right 'now'

Can one run a scheduled command by id 'right now' ? I'm not sure if it is even possible on windows, Atleast I haven't found anything yet
1
vote
2answers
473 views

windows at command doesn't work properly

i am trying to use the at command to do a specific one time execution. assume that i have a batch file at c:\bat.bat that contains: %* > d:\out.txt i also have a Java with path registered in my ...
1
vote
1answer
427 views

How configure email the at/batch results is sent to?

From the man page for at/batch, it says The user will be mailed standard error and standard output from his commands, if any. Mail will be sent using the command /usr/sbin/sendmail. If at is ...
2
votes
2answers
4k views

Windows command line "at" command to run 10 seconds from now

I want to run some command once, 10 seconds to 1 minute from now. Windows at command only receives absolute times, like 11:50. How can it be done? Can it be done with other command line means?
2
votes
2answers
2k views

Unix "at" command: I don't want it saving output to /var/mail/

By default (and from what I've looked at thus far), at dumps the standard terminal text output to /var/mail/yourusername. (e.g. echo "hello" | at now + 1 minute will save a log about the command) Is ...
0
votes
1answer
2k views

Sending sms with at commands, what kind of caracters i can't have in my message?

I need to know what kind of characters I can't put in my message, how to format it and if I can put spaces at the end of message. If some knows some about it, some bug, some hit, please tell me.
1
vote
2answers
1k views

cron and at are not working

On my Mac (yeah, yeah I know. but my Linux box is at work) for some reason cron and at don't want to work. They both register that jobs have been added, with no syntax errors or any qualms at all. ...
3
votes
1answer
2k views

Have the at command return the job id of the task just submitted

Is it possible to have the at command return somehow the job id it just submitted when used from within a script? (kind of like $? retrieves the last exit code or $$/$! retrieve the PID of the command ...
3
votes
1answer
184 views

How can at execute a command from the command line

How can I schedule a command using at without having to include the command in a distinct file, neither from the mini at shell that reads from standard input? That is, I want to execute the command: ...
2
votes
1answer
176 views

'at' command output on Mac

I need to execute scheduled tasks with at command: echo "VM-run.sh $1" | at 08.00 > at_output.txt 2>&1 I would have the output of VM-run.sh, but what I have instead is this output: job 5 ...
2
votes
1answer
1k views

Easy quick notifications on Windows 7 with UAC

On Windows XP I was used to create simple notifications for myself using combination of at and msg commands. The whole thing was very easy hit Ctrl+R type eg. at 21:00 msg * Do something hit ...
1
vote
1answer
1k views

Getting zenity and at to work properly

I'm trying to use zenity and at to make a little reminder script. The problem is that while zenity --info works fine from bash (or sh), running echo "zenity --info" | at now + 1 min does nothing. ...
1
vote
0answers
119 views

script -e and crontab or at

I have a shellscript I want to run via at and use script to capture a transcript. script -e was introduced in util-linux-ng 2.18 and returns the retval of the child process. I want to capture the ...
4
votes
1answer
4k views

Linux at command with seconds precision

I'm looking for some Linux command which may launch another command at a specific time. I know about the at command, but it gives me only minutes precision, and I need seconds precision. Is there an ...
0
votes
1answer
2k views

Trace AT commands to a modem

I have a HSDPA modem attached to the USB port and I use the software that came bundled up with this modem to connect to the Internet. Can I trace the AT commands issued to this modem using a packet ...
5
votes
2answers
6k views

Linux 'at' command history

I got an email from root with the subject Output from your job # I guess this came from my at queue because I recognized the command. But the thing is I submitted this at command 3 weeks ago and ...