Error : "Trigger must be associated with a job detail"
String sch ='0 5 0 * * ?';
ProcessApproval_sched p = new ProcessApproval_sched();system.schedule('Process Approval Schedular For Every Day 12:05 A M ', sch , p);
when we run the above the code snippet from the Anonymous window , we saw the above error
"Error : "Trigger must be associated with a job detail" .
This is because job name has a blank space at the end .
we rectified the above issue by removing the space at the end of the job name .
No comments:
Post a Comment