A utility used for scheduling an event to happen once at some point in the future.

learn more… | top users | synonyms

3
votes
1answer
24 views

X commands do not start from my at job

I'm learning about Linux scheduling commands including at, cron, sleep etc. I'm trying to launch gedit after x minutes via the at command. This is what I have: kedar@i5 ~ $ at now + 1 minute at now + ...
0
votes
2answers
32 views

`cron` service and `at` command

Help to understand: is there any relation between cron and at command. Actually if I stop the cron services in SUSE by running following command: /etc/init.d/cron stop after above, if I run at ...
2
votes
3answers
37 views

at command - totally stuck

I'm trying to perform a one-liner using at. Basically, I want to send an SMS at some point in the future. Here's my command to send an SMS: php -r ...
4
votes
2answers
223 views

Schedule job at irregular intervals

It's simple enough to use cron to schedule a job to occur periodically. I'd like to have something occur less regularly -- say, run the job, then wait 2 to 12 hours before trying again. (Any ...
2
votes
2answers
28 views

Are logs kept for past at jobs?

I ran a few jobs with at command and, if possible, I want to see which commands I ran in what directories. I work with Linux Mint 16 if this is relevant.
1
vote
1answer
39 views

Kill all queued jobs

I need to kill all the queued and running jobs on my ID. I have tried at -l | awk '{print $1}'| at -r {} But I keep getting {} does not exist Which leads me to believe that I am parsing ...
1
vote
1answer
45 views

Is it possible to use the at command to schedule a job to run at a given timestamp?

I want to schedule a file to run using the at command, as described in this tutorial. I see that the at command supports the posix format -- but I don't see any mention of timestamps. Surely it is ...
2
votes
0answers
38 views

at and daylight saving time

Suppose I have added a task via at -t specifying the next day in my timezone. The next day my timezone changes as of daylight saving time. The question is whether the task will be executed correctly ...
14
votes
5answers
2k views

Why do we need “at” command in linux

I was studying a code in which the at command is used. I looked around it and found that it is used to execute batch jobs. It is used to schedule jobs. Its given a input of command and time ...
3
votes
3answers
114 views

stopping atd job at specified time

I'm trying to schedule download at nights. I have created a atd job which starts download script at 2 AM. Now I want to stop the same job at 7 AM if it is still running. What I'm doing now is just ...
3
votes
1answer
80 views

What will at actually execute?

If I do atq I can see a list of what is scheduled via at command. But how do I see what is the command that will actually run?
1
vote
1answer
181 views

at.allow and at.deny precedence (in Ubuntu)?

It's clear from documentation about cron that if cron.allow and cron.den both exist then cron.allow takes precedence and it is allowed. What is the case for at.allow / at.deny? Everywhere I've ...
3
votes
1answer
161 views

Reset atq list to zero?

I have been using at for quite a while now, and I noticed that the at job ids seem to increment forever. $ atq 332 Mon Sep 23 17:25:00 2013 a cklein $ # I'm up to 332 at jobs! Interestingly, at ...
4
votes
2answers
230 views

How and where is the at command configured?

When I install a new Linux system, one of my first tasks is to have crontab send all its email to a designated email address, not root. I want to do the same for the at command. That is I would like ...
0
votes
1answer
79 views

My at command failed to reschedule. How can I debug this?

When using at is there a limitation on the amount of minutes to use? E.g I rescheduled programmatically via a script to run in the next 2014.989 minutes (taken from the log) but when I do atq I don't ...
0
votes
2answers
772 views

Why does `at` warn me that commands will be executed using /bin/sh? What if I want a different shell?

I tried to use at from within a script of mine and it prints: warning: commands will be executed using /bin/sh How would I use different shell if I wanted?
2
votes
2answers
640 views

How to install and use at job scheduling?

I am not clear on the following: Is the process for at available to all linux installations? Or do would I need to do something to "install" it?
8
votes
3answers
2k views

Why does this 'at' command not print to the standard output?

I am a relative Linux novice. I am trying to learn how to use at so that I can schedule tasks to begin at a later time, without using sleep. I have been looking at this previous question for help. ...
2
votes
1answer
87 views

Daemons send mail when it exits

I'm not sure if daemon is the correct term but we have a number of processes (ksh scripts) that we start with the "at" command on AIX. Hopefully they run until they are told to shutdown down, at ...
0
votes
2answers
55 views

Delete file at specified time non-interactively

I have a script that when executed generates a temp file that i want deleted 10 minutes after the script completes. I have looked at the "at" command which does what I need, but it requires ...
1
vote
1answer
116 views

How to more easily specify tasks for batch, using command prefix tool?

The tool batch that comes with the atd daemon is pretty useful in principle, running commands only when the system utilisation falls below a certain level (by default, 1.5). However, using it (and ...
1
vote
0answers
93 views

at daemon creates empty tasks

I have problem with atd daemon. If at is called by non-root, it creates task, but it is empty (content of /var/spool/atd). I do not remember what I have done before it broke that way. What else ...
2
votes
1answer
509 views

How can I list my `at` jobs by date?

I am using atq command, but I need to list my at jobs by date. How is that possible ?
9
votes
4answers
3k views

Remove all `at` jobs

I know that to remove a scheduled at job I have to use atrm "numjob1 numjob2", but is there an easy way to do that for all the jobs?
4
votes
2answers
958 views

How to pass arguments to bash shell script when executing that command with at?

I have a shell script that accepts an argument and uses that in the script. So to run the script I type /path/to/script argument The problem is when trying to setup that file to run using the at ...
4
votes
4answers
715 views

How to prevent atd from running past jobs?

The at daemon is a great tool! However, if a job is scheduled for 8:00 am and the machine is off at that time, at will run the job whenever the machine is booted. What I would like to do is stop it ...
1
vote
2answers
305 views

Automate creation of an at job using expect

I am trying to write a script that will take time and process-name and pass them to at to schedule the job. I cannot send the EOT. #! /usr/bin/expect # Usage: setupkill.exp time process. ...
2
votes
1answer
1k views

Where does the output go from `at` and `cron` jobs

Where does standard output go given there is now screen? It's not appearing in the same directory or my home directory. How could I actually figure this out given that I don't know how to run debug ...
2
votes
1answer
261 views

Why doesn't dzen2 work when invoked via at?

dzen2 is a notification utility of sorts. This command will make a notification that says "Hi" appear on the screen: echo Hi | dzen2 -p Debian's at is a utility that schedules events to occur in ...