Finalize cron-posts function