Hi, I am getting an error. I want a job to be executed periodically. So I have created a new class and extended it to runbasebatch. In the main method i have called classname = new classname() and then called run method of that class.
Then the run method calls my method. I have given cangoBatchJournal as true,runasimpersonated as true and kept pack and unpack methods. I don't get any when I execute that class directly and it perfectly executed But when I have assigned it to a batch job.I am getting error. Can anyone of you, tell me y I am getting that error....... Regards, Giridhar Raj.