Further cron changes

Made search and get_team_links globally defined so all the league cross
can use them