The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
152 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
63 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
68 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
35 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
217 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
271 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
574 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
47 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
274 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
184 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
49 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 ...
2
votes
5answers
20k 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
402 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
151 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
885 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 ...
1
vote
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
447 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
350 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
160 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
198 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 ...
6
votes
1answer
5k 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 ...
3
votes
4answers
375 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
603 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 ...
4
votes
4answers
2k 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
215 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 ...