0 0 * * * screen -d -m rtorrent
0 16 * * * screen -r -X quit
i have an ftp server on the same host. if someone is uploading via ftp, i would like to stop/pause/throttle rtorrent at this time (got the monitoring daemon working). i would assume it follows the "screen -r -X s" format (to send a keypress "s" to the screen session), but nothing works for me!
i only need to send one keystroke to the session - "s" to throttle, and "x" to remove the throttle.
any help would be much appreciated...