problems with doc vs implementation, cron not exiting properly