add delete func

Conflicts:
	cron.go