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
|