The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
27 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
9 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/...
0
votes
0answers
9 views

Linux at command logging [duplicate]

For Linux, specifically CentOS, is the command executed by 'at' logged anywhere? If so, in what file would the command be logged? I looked under /var/log.
2
votes
0answers
31 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 ...
0
votes
1answer
45 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
93 views

`at` jobs running tens of minutes later than expected

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 ...
-1
votes
1answer
57 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
295 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 ...
2
votes
1answer
101 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
104 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
39 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
317 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
394 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 ...
0
votes
1answer
695 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
59 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
396 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
213 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
52 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'...
2
votes
5answers
31k 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
494 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
227 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
1k 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 ...
2
votes
1answer
1k 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
647 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
361 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
163 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
200 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....
11
votes
2answers
10k 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
425 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
659 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 ...
5
votes
4answers
3k 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
219 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 ...