+ Start a Discussion
Himanshu Patel 55Himanshu Patel 55 

How to know data processed by Scheduled Job

Hello Everyone, 

Due to Covid 19 we had to stop our automated process sending Orders to Distributors and now we want to reactivate but data volume is high so it seems Schedule Apex Job is not able to send data.  

Is there a way to know what data is processed by Shceduled Job?

I have reduced Bach size in Schedule Apex from 1000 to 1 but not able to send to Prod as I dont know which test class should I use. There should be a test class for Apex class of Batchable Apex? 

I tried with debug log but did not came up anything. 

Let me know you throughts.

Thanks in advance
VinayVinay (Salesforce Developers) 
Hi Himanshu,

Do you see any jobs running under Apex Jobs?

Setup > Monitor > Jobs > Apex Jobs

Review below links
https://help.salesforce.com/articleView?id=data_monitoring_jobs.htm&type=5
https://developer.salesforce.com/forums/?id=906F0000000BWyKIAW

Also, you can try to execute a batch Apex from Developer Console
https://help.salesforce.com/articleView?id=000328480&type=1&mode=1

Yes, there should be test class for every apex class in order to move changes to production.  Try to check with Test pre or post appended with your apex class name.

Thanks,
Vinay Kumar