Questions tagged [at]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

at-command: Scheduling and process priority

I have about 10 "at" jobs. There are cases where there is a conflict of resources and I am trying to find a neat way to schedule this. Say, job#5 may want to start before the job#4 ends. ...
0
votes
1answer
51 views

script spawn via atd leaves a process stuck in wait

I have a bash script which is run via at, I run it like echo "bash /path/to/my/script.sh" | at -M now because I want it to run detached. When the script is spawned, immediately I see 2 ...
1
vote
0answers
51 views

SELinux prevents Apache from scheduling at job

I have an application that submits tasks to cloud services that create certain time-sensitive assets. The services take an unknown amount of time to process, and in addition the assets may be ...
0
votes
1answer
157 views

How to remove at job generated by www-data with another Linux user

Script executed by www-data creates an at job. Afterwards, normal Linux user cannot remove this job (atrm) because "Not owner". How can this be achieved?
0
votes
1answer
1k views

What does the @ symbol mean before a file path in Windows command prompt?

I've noticed that powershell.exe started csc.exe with a command line like this: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\TEMP\pn1kld2d.cmdline" I'...
0
votes
1answer
521 views

Debian 8- atd process consuming 99% cpu

I’m new to server administration. Using Debian 8, a process called atd is consuming 99% of cpu. From googling I found out that atd is a job scheduler, but I didn’t set up any. I just have apache 2 ...
1
vote
1answer
340 views

avoid zombie processes when using at

I'm using at to schedule a script in a Centos based Docker container. e.g. echo "bash /path/to/script.sh" | at now + 1 minute It mostly works as expected with the exception being that it results in ...
1
vote
1answer
46 views

at command seems to be discarding output

Running 'at' on either Debian Jessie or Raspbian Jessie, output seems to go down a black hole whatever I do. I'm wanting to capture errors, but even in the simple case of stdout I can't seem to ...
0
votes
1answer
2k views

at command: Exec failed for mail command: No such file or directory

I got to run a task today at midnight on a debian system. As I never did anything with atd I wanted to try first, if it works as expected. I got a test.sh in folder /usr/local/dump/ which contains ...
-1
votes
1answer
27 views

How to restrict access to subdirs in Nginx

My question is very simple, but I can't find simple answer on this forum or Google... How to restrict access to all subdirs in Nginx ? I can only restrict access to the exact path: location /wiki/...
2
votes
0answers
38 views

Force at to email effective user instead of logged in user

The at scheduler is emailing an unexpected user consistently on both old RHEL6 boxen and new OEL7 boxen when the jobs produce output or when the -m flag is used. If we log in to the box with our ...
1
vote
1answer
217 views

Does Solaris/Illumos have a daemon for at jobs, or manage internally?

I scheduled a test at job and reviewed it with atq, but I do not see an atd daemon which will carry them out. Is this managed within the Solaris / Illumos kernal? If not, which daemon manages at jobs?...
4
votes
0answers
158 views

`at` jobs running tens of minutes later than expected [closed]

I have an issue with at jobs being queued successfully and running successfully, but sometimes tens of minutes after they are scheduled to run. I confirmed that atd is running: me@hostname:~$ ps -ef ...
0
votes
1answer
989 views

how to find linux at job status

Im using echo "<some command> | at -q <queuename> now to create a queue of jobs. I can use atq command to get list of jobs. I cant seem to find any command or swtich which can show me ...
2
votes
1answer
2k views

linux + at command + how to kill the job

I use the at command in order to run the task (test script ) every one min at -f /tmp/test now +1 minute commands will be executed using /bin/tcsh job 1438153690.a at Wed Jul 29 10:08:10 2015 but ...
3
votes
1answer
289 views

Do cron and atd run jobs with the same user, permissions and environment?

What's the difference between running a bash script via cron and running the script via atd? Is there any difference? Is it specific to the distro? If so, what about SLES 11?
0
votes
0answers
404 views

schedule command with "at" after reboot

I'm trying to schedule a command to run only once with at. But the server is prone to reboot at least once every day. I already tried to schedule a command with at` to be executed in 24 hours, but it ...
3
votes
3answers
55 views

Is it possible to determine if a job is being started as an at job (kicked off via atd/cron)?

Is there a way to identify a script is being run as an at job instead of interactively from the shell by a user? Some of our scripts have a guard to check if they're running in screen by checking $...
-1
votes
1answer
509 views

Allow nginx www to run Centos at command

I have a job which created by PHP script running as www (nginx) 31 2014-06-09 19:08 a www After the time passed, the job is executed but nothing happens. But if i run it as a root, 32 ...
2
votes
3answers
488 views

Zenoss SMS missing text

I've set up a Xenserver hosting a Debian VM with Zenoss Core 4.2.4. The Xenserver has a Siemens T35 GSM Modem attached to its serial port COM1. I used ser2net + some Xenserver configuration to get it ...
2
votes
1answer
1k views

Why is `www-data` (Ubuntu / Apache user) listed in the `/etc/at.deny` file?

I have a cgi script that is resending an email on a failed attempt 5-10 minutes after a user accesses a page. My thought was to do this using the at command from a python call (os.system("at now + 5 ...
0
votes
0answers
96 views

need at jobs identified by name (advanced atd daemon)

Sometimes I'd like to delete or overwrite (or simply cat) an at job. Unfortunately, the at jobs are identified by a sequential number (file in /var/spool/cron/atjobs), which makes those operations ...
0
votes
1answer
923 views

Windows Server 2003 - AT command for repeating a scheduled Task

Is it possible to use the AT command to create a scheduled task that repeats every X minutes? I can use AT to make one that repeats daily/weekly/monthly, but haven't seen a minute/hourly repeat. I can ...
3
votes
1answer
279 views

environment variables generated by at command

I'm inspecting /var/spool/cron/atjobs/a001cf01570e44 with cat, after running the at command from PHP using exec(). It looks like at has prepended the script with lots of APACHE environment variables. ...
2
votes
1answer
68 views

Capturing output of 'at'

How can I log the output of a command executed by at? This command is actually being exec()'d by PHP as in: <?php exec('echo "curl -k https://localhost/projekt/crons/purge/5" | at now + 5 minutes'...
3
votes
6answers
51k views

Pop up a message or run a program on remote windows 7 computer so currently logged on user can see it

How can you pop up a message or run a program on remote computer so the currently logged on user can see it. We have done this on WinXP, but these don't work with Win7. at.exe \\computername time /...
0
votes
1answer
803 views

at daemon: What is the point of the "batch" queue?

I'm wondering if there's a practical purpose to the batch queue (i.e. batch, at -q b). I'm asking this because there seems to be a mandatory 1 minute wait time (by atd's default) between consecutive ...
1
vote
2answers
377 views

Problems using "at" with Apache

I'm trying to use a PHP script to create at jobs, but when it comes time to execute the jobs, nothing seems to be happening. I've tried to output any errors to log files, but have had no luck. It ...
1
vote
3answers
2k views

changing default shell to /bin/bash of at job scheduler like in CRON

Is there a way to change the initial shell used by the atd job scheduling service? Esp. in Ubuntu. at by default uses /bin/sh in every Linux and Solaris I've deployed products on. GNU's crontab ...
4
votes
1answer
2k views

How to restart atd without affecting running jobs?

Does anyone know how to restart atd without affecting current running (batch) jobs? I guess I could move the jobs out of the spool directory and wait for the current running jobs to finish, but I'm ...
2
votes
2answers
2k views

AT jobs not running

Ubuntu 10.04 Server I am using at to have a bash script schedule itself to run again a particular interval after it completes: (here is the last line of that script) echo "$0" | at tomorrow + ...
2
votes
1answer
404 views

problems with scheduler and rights [closed]

I have WinXP installed in C:\WINDOWS\ with 2 accounts: Administrator and user. The second one is limited and used for main work, but I also know a password for Administrator. I want to make an alarm ...
1
vote
2answers
173 views

At command - Windows

I'm quite confused by the at command, I am not even sure if something IS happening as I don't get feedback if a task has been added or not. Is there anywhere I can check added tasks?
1
vote
3answers
205 views

at Command output is not uniform across versions and operating systems. Any other way of doing this?

I have written a small PHP script to wrap the at command on Ubuntu. Now I need to get the same code running on a Redhat server. Of course the output when adding and listing jobs is of course different....
50
votes
5answers
48k views

How do I print contents of at jobs?

I have a Debian box with some jobs scheduled using at. I know I can list the jobs with their times using atq, but is there any way to print out their contents, apart from peeking into /var/spool/cron/...
3
votes
4answers
573 views

Ubuntu 8.04 server: can't invoke at

For some reason I can't use at command from an ordinary user $ at You do not have permission to use at. I've checked my /etc/at.deny, it doesn't have my user there. There is no /etc/at.allow. I ...
0
votes
1answer
873 views

/interactive flag with the at command in Windows Server 2003

In Windows XP, it's possible to use the at command to launch programs (e.g. "at 5:00PM /interactive gohomefromwork.exe"). The at command also exists in Windows Server 2003 but I can't seem to run ...
6
votes
4answers
6k views

Logging atd messages via syslog

I am running CentOS 5.3 and would like to log all messages from the "at" daemon. My syslog.conf contains the following entry: cron.* /var/log/cron I assumed that cron line in syslog refers to the ...
0
votes
2answers
240 views

How can I use symbolic signals in an at job?

In this answer on SO, I gave an example that should have used a -SIGCONT signal in a job submitted to at. However, I found that the process that I had stopped with -SIGSTOP did not continue. When I ...