On Wed, 2010-11-10 at 16:06 -0500, Ephram wrote: > I'm trying to setup my headless Ubuntu (10.04) server to start a > torrent automagically on boot. Problem is, I can't make that happen.
Might want to use a init script rather than cron, but either way. > Here's what I've added in my crontab: > @reboot root btdownloadcurses --saveas /shared/torrent /shared/a.torrent The command your executing might not be in your path. If you look in /etc/crontab you will usually see a PATH variable. I bet the path the command your executing is not in that. Now rather than include the path globally, just specify the absolute path, as part of the command. ex /usr/bin/btdownloadcurses > This doesn't launch. (Checked top and ps aux.) If I run this same > thing from the command line, it launches no problem. What ever user or shell your using has the command in its path. No guaranty thats the problem, but check it out. Also cron is likely spitting out an error in the logs as to why its not running your command, or whats going on. Might want to check out your logs either way :) Sometimes cron has a cache or something and if its an immediate action, you might want to restart cron if you just made that change and want to see it take action. Most times just updating the files a few seconds before its supposed to run any command, is usually enough, but not always. -- William L. Thomson Jr. Obsidian-Studios, Inc. http://www.obsidian-studios.com --------------------------------------------------------------------- Archive http://marc.info/?l=jaxlug-list&r=1&w=2 RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml Unsubscribe [email protected]

