Is it possible to have a script that gets started at logon and continues running in the background?
Due to it not being possible by other methods, I'd like to write a script for use with exam users that regularly (e.g. every 30 seconds) checks for Safari or Chrome processes and kills them.
How would I go about doing this?