function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Edwin KEdwin K 

Stopping a Scheduled Job when the UI won't let you (unable to delete scheduled process)



I want to ask a question about stopping scheduled jobs in apex because in UI, it returns error with the message something about the job name is over 64 characters. I've used "system.abortJob" method to stop the schedule process but it doesn't work.. The job is still visible in my Scheduled Jobs.. I can't delete it because the job name is too long.. I need to delete it so I can update my apex code, need help on this.. Any suggestions would be great..




u can't the  delete the job using system.abort.. u can simple stop the excetution process thats it... i think no way to delete the job through apex....u have to do it manually

Edwin KEdwin K

Oh, that's very bad for me then because I can't delete manually in Scheduled Jobs because it says my Job Name is over 64 characters and so can't be deleted...  Is there any other way to delete it?