save cron info to db; escape ansi color from err msg