I want to use execute plugin to do the following:
On completion of a torrent, WAIT 180 seconds, then move to "C:\" directory. So move to C:\ after waiting 180 seconds upon torrent completion
The wait 180 seconds part is very important, but will be complicated and long-winded to explain here
Unless you want the same file to be downloaded over and over, or you don't want to seed, this cannot be done.
The daemon blocks on execute plugin scripts, so any execute script attempting to interact with the daemon as a client will stall the daemon, thus the above caveats. This also means that every time a torrent finishes, the daemon would block for 180 seconds.
Alternatively, the execute script could execute a client script as a background task, which would do all of the work.
I believe the blocking behavior of scripts will be changed in 1.3.4, but if you don't want deluge to hang duing your sleep statement you need to lauch your script from all calling script.
In linux you would put an & at the end of the line.
In windows put your actual code in a second script file and then call it like this
1.3.4 has been released and yes it doesn't wait on scripts to finish anymore (so it won't hang).
As a side note you shouldn't use mv as deluge will no longer be able to seed that torrent.
I believe you want to either use deluge's "move completed to" feature or just copy the file to another location.