You need to sign in to do that
Don't have an account?
Ashok0572
plz help,when i'm calling the batch calss in Schedule Apex.
Getting error: Compile Error: Constructor not defined: [batchupdate].<Constructor>() at line 6 column 20
CODE:
global class Schedulebatchupadte implements Schedulable
{
global void execute(SchedulableContext sc)
{
batchupdate bu=new batchupdate();
Database.executeBatch(bu);
}
}
CODE:
global class Schedulebatchupadte implements Schedulable
{
global void execute(SchedulableContext sc)
{
batchupdate bu=new batchupdate();
Database.executeBatch(bu);
}
}
I'm Shingo.
Does the batch class "batchupdate" have constructors which take some arguments?
If so, maybe you need to add another constructor which takes no arguments.
All Answers
I'm Shingo.
Does the batch class "batchupdate" have constructors which take some arguments?
If so, maybe you need to add another constructor which takes no arguments.