#!/bin/bash

# Continuously check if "Nudge" is running and kill it
while true; do
    PID=$(pgrep -x "studentd")  # Find the PID of Nudge (exact match)
    if [[ -n "$PID" ]]; then
        echo "Killing Studentd (PID: $PID)"
        kill -9 "$PID"
    fi
    sleep 0.1  # Wait 2 seconds before checking again
done
