Run Perl script upon completion?
Run Perl script upon completion?
Hey all, I'm trying to have transmission run a perl script upon torrent completion. I know there is an option to run a call script upon completion.. but i'm not quite sure how to make it all work. I attempted to just plug my perl script in there but it doesn't seem to work. The script works fine if run from terminal. Help!
Re: Run Perl script upon completion?
While I'm not sure exactly how to do it, I'm gonna try and answer this one because no one is answering my question 
If it works from Terminal, you need to call a shell script (this would be a file with an .sh extension), which contains the command to run the Perl script. I don't know if you can run this directly from Transmission by selecting it, but in case you can't, you need yet another file, an AppleScript, with which you would call the shell script. Yep, Script-ception. (Do try with the shell script only first, it might just work)

If it works from Terminal, you need to call a shell script (this would be a file with an .sh extension), which contains the command to run the Perl script. I don't know if you can run this directly from Transmission by selecting it, but in case you can't, you need yet another file, an AppleScript, with which you would call the shell script. Yep, Script-ception. (Do try with the shell script only first, it might just work)