<commit_before>#!/bin/bash
# Checks whether paho-mqtt-client is running or not. If it isn't, then restart it.
# This script is run every 10 minutes by cron.
 
output=$(pgrep -fn paho-mqtt-client.py)
testi=$output
 
if [ "$testi" ]; then
:
else
python /home/markus/paho-mqtt/paho-mqtt-client.py >/dev/null &
fi<commit_msg>Update check_paho.sh<commit_after>#!/bin/bash
# Checks whether paho-mqtt-client is running or not. If it isn't, then restart $
# This script is run every 10 minutes by cron.

output=$(pgrep -fn paho-mqtt-client.py)
testi=$output

if [ "$testi" ]; then
:
else
python /home/markus/paho-mqtt/paho-mqtt-client.py >/dev/null &
fi
{'fraction_non_alphanumeric': 0.14108527131782947, 'fraction_numerical': 0.006201550387596899, 'mean_word_length': 3.9692307692307693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1760411', 'n_tokens_mistral': 258, 'n_tokens_neox': 243, 'n_words': 69}