inital commit
This commit is contained in:
commit
191f8bcd51
7 changed files with 404 additions and 0 deletions
11
monitor.sh
Executable file
11
monitor.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
while true; do
|
||||
termpdf.py resume.pdf
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "The command failed, restarting..."
|
||||
else
|
||||
echo "crashed, trying again"
|
||||
fi
|
||||
sleep 1 # Optional: sleep for 1 second before rerunning the command
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue