Files
.bin/pgreptest
2023-05-30 13:48:55 +02:00

13 lines
151 B
Bash
Executable File

#!/bin/bash
if [ $(pgrep -c $(basename $0)) -gt 1 ]
then
echo 'Proccess already exist. Exiting..'
exit
fi
echo 'Good proccess run..'
sleep 500;