![](https://www.infallibletechie.com/wp-content/uploads/2023/07/Async-Apex-Usage-in-Salesforce-1024x576.jpg)
DailyAsyncApexExecutions Limit from System.OrgLimit can be used to check Async Apex Usage in Salesforce.
Sample Code:
Map < String,System.OrgLimit > limitsMap = OrgLimits.getMap();
System.OrgLimit objAsyncLimit = limitsMap.get(
'DailyAsyncApexExecutions'
);
System.debug(
'Limit Name: ' +
objAsyncLimit.getName()
);
System.debug(
'Usage Value: ' +
objAsyncLimit.getValue()
);
System.debug(
'Maximum Limit: ' +
objAsyncLimit.getLimit()
);
Output:
![](https://www.infallibletechie.com/wp-content/uploads/2023/06/Salesforce-Async-Apex-Usage.jpg)
DailyAsyncApexExecutions Limit from System.OrgLimit can be used to monitor the Async Apex Usage in Salesforce. So, use the above code as reference.