qun is a program that executes (PostgreSQL) database functions periodically. qun is similar to cron, but optimized for function execution.