package cron import "fmt" func (s *server) RemoveTask(taskCode string) { s.cron.RemoveJob(fmt.Sprintf("cron_task_%s", taskCode)) }