LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2004, 10:54 AM   #1
djzanni
Member
 
Registered: Dec 2003
Location: Washington, DC
Distribution: Ubuntu 7.04
Posts: 73

Rep: Reputation: 15
trouble automatically starting programs


I'm would like to automatically have my computer start my P2P program, amule, automatically at a certain time. I am familiar with the command cron, at, and batch, but I can't seem to get them working. Actually, I've only really tried "at" but I can't get it working and so I think it's probably fruitless to go on to cron if I can't get the most basic thing working.

The at command does actually work for some things, but doesn't seem to work for amule or to start other programs. So, for instance, if I type:

$ at now
at> ls > output
at> <EOT>

then it works: I get a text file called "output" that lists the contents of the directory I'm in.

However, If I do this:

$ at now
at> amule
at> <EOT>

Then nothing seems to happen. I figured, well, maybe this runs in the background so I looked at my processes using the "ps aux" command, but I didn't see any amule. I've also tried xmms just to see if that works. I also tried to put the amule command in a script file and then run the script with the "at" command, but again no success (the script does work if I run it from the command line "./at_amule.sh").

What am I doing wrong? THanks for any help you can give me.

~daveZ
 
Old 10-30-2004, 11:14 AM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
have you tried putting the full path to amule in the at job?

$ at now
at> /usr/local/bin/amule ( whatever the real path is)
at> <EOT>
 
Old 10-30-2004, 11:26 AM   #3
djzanni
Member
 
Registered: Dec 2003
Location: Washington, DC
Distribution: Ubuntu 7.04
Posts: 73

Original Poster
Rep: Reputation: 15
Yes, I did try that. I just tried it again, this time with xmms... didn't work.

Thanks for the suggestion, though.

~daveZ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble starting programs Avatar33 Mandriva 1 04-11-2005 12:36 AM
Programs Starting automatically on login? keysorsoze Fedora 2 01-31-2005 07:53 AM
Automatically starting programs for individual users at boot johnleemk Linux - General 1 09-13-2004 05:24 AM
redhat 9.0 gnome--starting programs automatically dave37 Linux - Newbie 6 10-01-2003 04:49 AM
Starting X Automatically shari Linux - Software 2 08-08-2001 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration