You need to sign in to do that
Don't have an account?
Nimisha Prashant
How to Schedule an apex job after 30 minutes from now to execute a batch at 3pm everyday?
Batch Apex can have 5 concurrent (simultaneous) jobs running in parallel. When I schedule my job I am checking if 5 jobs are already running if yes I want to try scheduling the job again after 30 minutes. The job should still run only at 3pm daily.
Please help me with the apex code for the same as I am new to Salesforce.
Please help me with the apex code for the same as I am new to Salesforce.
Find the code as below :
Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.
The code schedules the job to run after 30 min from now. But I want to schedule it to run for cron String '0 0 3 ? * MON-SUN' after 30 min from now. Rephrasing my question where do I give my cron String while Scheduling it after 30 minutes from now?