code that lives on my server and runs on a cron every minute