* fix(cronjob): schedule an imported pending job when it is edited
Update decided whether to schedule the job from its old status, so a job
imported as Pending was saved as Enable without being added to the
scheduler.
* Delete agent/app/service/cronjob_test.go
---------
Co-authored-by: Ruan Chaves <14352388+ruanchaves@users.noreply.github.com>
Co-authored-by: ssongliu <sloooop1x@gmail.com>