• Selvaganesh Ilango 6
  • 0 Points
  • Member since 2021

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3
Hi All,

I want to run the batch from monday to friday in between 9 AM to 5 PM for every one hour. Please tell me how to proceed.

My requirement is to schedule a Job every 30 minutes. I can do this using two CRON Expresssions (as given below), but I want to see if we can do this in one expression ? Advantage of having one single job is that "if the job take more than 30 minutes to process, second job wont fire". By having two different expressions, they can be running together.

String cronStr1 = '0 00 * * * ?';
String cronStr2 = '0 30 * * * ?';

Hello all,


Can you please let me know the steps to make sure that I run the batch apex every 30 minutes all day and everyday...In the UI i can schedule everyday but here i want to execute my batch class everyday and on each and every single day i have to run this Batch Apex every 30 minutes?Please let me know the sequence of actions that i need to take...


Here is my schedulable class



global class ProcessAccs implements Schedulable{
    global void execute(SchedulableContext sc) {
        //  Instantiate batch class 
        BatchProcessAccs B = new BatchProcessAccs();