Files
helpful-scripts/resume-rename.sh
Michael 44212d8471 Fixed
2021-10-20 22:16:45 +01:00

7 lines
296 B
Bash

#!/bin/bash
dt=$(date '+%d%m%Y.%H%M%S');
pid=$(ps aux | grep 'rmSBMBv2' | grep -v 'grep' | awk '{print$2}');
touch /tmp/rename-kill.log
echo Resume Entry $dt: Resuming $pid >> /tmp/rename-kill.log
kill -SIGCONT $pid >> /tmp/rename-kill.log
echo Resume Entry $dt: Finished >> /tmp/rename-kill.log