Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I have this problem: Start amule, runing for 10 hour then killed. Ok I start again aMule with terminal, then 5h runing then killed another time. My question is: ...
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    2

    process kill start again

    Hi
    I have this problem:
    Start amule, runing for 10 hour then killed. Ok I start again aMule with terminal, then 5h runing then killed another time.

    My question is: howto automatic start again the program when killed ??

    Sorry for my bad english

    Thanks

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    you need configure cront and add an entry for amule
    sorry , but i can't help you in cron
    man crontab

  3. #3
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    cron is for scheduling jobs at a certain time. Because he doesn't know when this process is going to be killed, he should use inittab.

    You should add a line to /etc/inittab that says


    Code:
    amule:2345:respawn:/path/to/amule -arguments
    If you don't want to reboot after this change type

    Code:
    init q
    Note that this will run amule at the start of the system.

  4. #4
    Just Joined!
    Join Date
    Mar 2005
    Posts
    2
    Thanks

    Now im write code in to inittab.

    INITTAB
    CRONTAB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •