You need to sign in to do that
Don't have an account?
kumar.fdc81.3902978579608325E12
System.AsyncException
Hi all,
I am getting this error when i am executing Test class.
System.AsyncException: The Apex job named already scheduled for execution.
Thanks
I am getting this error when i am executing Test class.
System.AsyncException: The Apex job named already scheduled for execution.
Thanks
Thanks for given reply. I am executing test class with different names only.
Thanks
Can you please give your test code snippet here where you are getting this error.
Thanks
I am getting this error on Test class
@istest
class TestEmailNotification {
static testmethod void testEmailNotification() {
System.schedule( 'Demo 1', '0 0 0 * * ?', new EmailNotification() );
System.schedule( 'Demo 2', '0 0 0 * * ?', new EmailNotification(1) );
}
}
Please check in the 'All Scheduled Jobs' if there is any scheduled job with name 'Demo 1' or 'Demo 2' is exist. May be it will resolve your problem.
Thanks
Any other help please..