fixing astro for cron