The task is as follows
Write a script that terminates all processes that started more than N seconds ago.
find /proc -maxdepth 1 -user olo -type d -mmin +1 -exec basename {} \; \ | xargs ps | grep page.py | awk '{ print $1 }' | sudo xargs kill
that's what i could find
But why does kill refuse to work? And how to fix it?