LinuxQuestions.org
Visit Jeremy's Blog.
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 03-11-2005, 05:21 PM   #1
underberg
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
Automatic start of aMule


How do I start aMule at a specific time using Kcron? I've entered /usr/bin/amule under tasks in Kcron, and set it to start at midnight, but nothing happenes. When I click on "run now" the program starts ok.....very strange! What do I do wrong, has anybody experienced the same problems?
 
Old 03-12-2005, 10:04 AM   #2
ping_wing
Member
 
Registered: Apr 2004
Posts: 65

Rep: Reputation: 15
dont know kcron,
maybe if you just type: crontab -e
and add line
01 12 * * * /usr/bin/amule
 
Old 03-12-2005, 01:55 PM   #3
underberg
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Hi there

I've checked my crontab and it says:

# aMule
0 0 * * * /usr/bin/amule

# Stop aMule
0 6 * * * /bin/killall amule

# This file was written by KCron. Copyright (c) 1999, Gary Meyer
# Although KCron supports most crontab formats, use care when editing.
# Note: Lines beginning with "#\" indicates a disabled task.

It stops automatically at 6am, but I need to start it manually for some reason. What is wrong in my crontab?

u
 
Old 03-13-2005, 07:28 AM   #4
ping_wing
Member
 
Registered: Apr 2004
Posts: 65

Rep: Reputation: 15
I'm afraid that amule need X display.
give command 'xhost localhost' on your xterm and change cron line to:

0 0 * * * DISPLAY=localhost:0 /usr/bin/amule
 
Old 03-13-2005, 10:12 AM   #5
underberg
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you, it works!
 
  


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
aMule does not start martincho Slackware 7 11-14-2005 11:16 AM
Automatic Start mohtasham1983 Linux - Newbie 2 05-14-2005 06:02 PM
Script to start/shut down amule not working Adony Linux - Newbie 0 06-18-2004 09:23 PM
Automatic Start of XTerm secprovider Linux - Newbie 1 03-30-2004 04:00 AM
Automatic start of program VincentB Linux - Newbie 1 07-03-2003 04:21 PM

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

All times are GMT -5. The time now is 05:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration