Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 curious to hear.

share|improve this question

What OS are you using?

On Centos Redhat 5. I was able to restart atd with /etc/init.d/atd restart. My running jobs were unaffected and my scheduled jobs survived the restart:

$ date
Mon Dec 12 16:41:07 GMT 2011

As root:

# /etc/init.d/atd restart

They are still in the atq:

$ atq
2       2011-12-12 16:37 = bobby
1       2011-12-12 16:36 = bobby
4       2011-12-12 17:00 a bobby
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.