function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
satya damisetti 10satya damisetti 10 

Hi Everyone, Run a batch batch class in Different dates

Can anyone please help me out  solution for below Scenario

Scenario : I have queried  records from  Custom Object Application__c  based on  status filed Selected using Batch class  .How can i update 
the  fecthed records(25000)  from query   according to the below Dates.

1st update 1000        10/10/2017
2nd update 5,000    11/11/2017
3rd update 15,000    12/12/2017
Deepak Pandey 13Deepak Pandey 13
Hi Satya. 
  It can be do this with creating two checkboxs 1st for 1000,second for 5000 . batches will be flow 1stly updat 1st checkbox true than second after that 3rd. only add the start method query only two filter condition if 1st and 2nd chebox is not true.