Files
helpful-scripts/resume-rename.sh
2021-10-20 21:48:29 +01:00

6 lines
267 B
Bash

#!/bin/bash
dt=$(date '+%d%m%Y.%H%M00');
pid=$(ps aux | grep 'rmSBMBv2' | grep -v 'grep' | awk '{print$2}'
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