spawn and cron