get curl data before cron job