Results 1 to 6 of 6

Thread: AutoShutdown on torrent complete

  1. #1
    Join Date
    Aug 2010
    Location
    INDIA
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    AutoShutdown on torrent complete

    I used Kubuntu for a while and its default torrent app, KTorrent has a feature of shutting down my machine on completion of torrent download.

    My current torrent client is Deluge and installing KTorrent is something I don't want to do.
    Is there any way of writing a script which monitors and shutsdown the computer on completion of torrent download?

  2. #2
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: AutoShutdown on torrent complete

    if your question is answered, mark the thread as [SOLVED]. Thx.
    To post code or command output, use [code] tags.
    Check your bash script here // BashFAQ // BashPitfalls

  3. #3
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: AutoShutdown on torrent complete

    Quote Originally Posted by c2tarun View Post
    I used Kubuntu for a while and its default torrent app, KTorrent has a feature of shutting down my machine on completion of torrent download.

    My current torrent client is Deluge and installing KTorrent is something I don't want to do.
    Is there any way of writing a script which monitors and shutsdown the computer on completion of torrent download?
    KShutdown can shutdown the system when an application terminates, so if you can make Deluge exit when finished you are in business...

  4. #4
    Join Date
    Aug 2010
    Location
    INDIA
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: AutoShutdown on torrent complete

    Thanks for autoshutdown plugin, but don't know why Deluge is crashing again and again after 15-20 mins of download.

    Quote Originally Posted by ofnuts View Post
    KShutdown can shutdown the system when an application terminates, so if you can make Deluge exit when finished you are in business...
    KShtudown is again asking for 46MBs of download and will take somewhere around 96MBs, its little too much.


    I tried qtbittorrent, its great and have the feature of autoshutdown. But I am still keeping this thread as open, if someone with solution might take a look and reply.

  5. #5
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: AutoShutdown on torrent complete

    do you use separate 'temp' and 'completed' folders? in case of such a setup, you would be able to use a trivial script to check if the temp dir is empty and issue shutdown -P if the condition is met.
    if your question is answered, mark the thread as [SOLVED]. Thx.
    To post code or command output, use [code] tags.
    Check your bash script here // BashFAQ // BashPitfalls

  6. #6
    Join Date
    Aug 2010
    Location
    INDIA
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: AutoShutdown on torrent complete

    Quote Originally Posted by Vaphell View Post
    do you use separate 'temp' and 'completed' folders? in case of such a setup, you would be able to use a trivial script to check if the temp dir is empty and issue shutdown -P if the condition is met.

    Hmm... this can be tried. I'll go home and try it. lets hope this works.

Bookmarks

Posting Permissions

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