LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   at command: process not working (https://www.linuxquestions.org/questions/linux-newbie-8/at-command-process-not-working-402585/)

mirat46 01-12-2006 03:04 PM

at command: process not working
 
Hi:

I am trying to run the at command on my SUSE linux 10.0.

I receive this message everytime I try to schedule a process:

Can't open /var/run/atd.pid to signal atd. No atd running?

I looked in the /var/run/ directory but there is no atd.pid file. Do I need to create this file?

Anyone have an answer.

Thanks

celejar 01-12-2006 03:07 PM

The at daemon has to be running; simply adding a pid file won't do anything. It needs to be started in the startup scripts (or by hand, theoretically). In Debian, it's started by the RC.x scripts; I don't know Suse.

stress_junkie 01-12-2006 03:39 PM

In SuSE you log on as root and start YaST. When the YaST window appears click on the system icon on the left side of the window. The right side of the window will get new icons. Look for the icon labeled "Runlevel Editor". Click on that and it will start a new window. Find atd in the list. Highlight atd and click on the "Enable" button. You should see a message indicating whether it worked or not. If it worked then you can use the at command right away. It will also start the atd process whenever you restart the system.

mirat46 01-12-2006 09:28 PM

Thank you stress junkie

suavecu 05-05-2006 12:17 AM

Worked for me too :)


All times are GMT -5. The time now is 10:55 PM.