fix square brackets error in cron resource type