Quota alert via Wall for user via Cron
I have students on a small NFS+NIS network. Quotas are enabled and if the user types "quota" on their workstation they can see their status. I created a small script to grab the exit code of quota and to wall a message if they are over.
Since my students are like any other student (unreliable, lazy) they don't bother to check their quotas much and thus what I'd like is for each workstation to run this script every 5 mins or so (to bug them with wall messages).
I could create a crontab for each user, but this is a pita, what with copying over the file, making sure it exists when I create new users etc.
If I put it in the /etc/crontab then it wont run quota for the current KDE user.
What's the best approach to use?