System.AsyncException: trigger must be associated with a job detail
System.AsyncException: trigger must be associated with a job detailI am writing test class for schedule and bump into this exception.The reason is , make sure no space at jobName. The class can be call by :
System.schedule(jobName, cronExpression, schedulableClass) ;
Notice this will throw the exception . 'Opp_Update_Schedule 5.00 '
This will not throw exception :'Opp_Update_Schedule'. Remove space, I haven't test with special character (you might want to test) but I remove it anyway and it run.
Have a nice day.