TODO: configure a cron job for this