title: Quartz job scheduler using Java, stuck on standby mode without the job being executed
body: <p>i have a class where i perform some activities, and i want to create a job that will handle this operation automatically, scheduled every x minutes for example.
  I am using Quartz, this class implements Job, and in my driver class i'm creating my jobdetail, scheduler and trigger and then starting it. However, the job isn't being executed, log info :</p>
  
  <pre><code>    NOT STARTED.
    Currently in standby mode.
    Number of jobs executed: 0
  </code></pre>
  
  <p>The code for the scheduler in my driver class:</p>
  
  <pre><code>try {
  
          JobDetail job = JobBuilder.newJob(TestMkFPMJob.class).withIdentity("TestMkFPMJob").build();
          Trigger trigger = TriggerBuilder.newTrigger().withSchedule(SimpleScheduleBuilder.simpleSchedule().withIntervalInSeconds(Integer.parseInt(strTimeSched)).repeatForever()).build();
  
  
          SchedulerFactory schFactory = new StdSchedulerFactory();
          Scheduler sch = schFactory.getScheduler();
          sch.start();
          sch.scheduleJob(job, trigger);
  
              } 
        catch (SchedulerException e)
        {
          e.printStackTrace();
          System.out.println("Scheduler Error");
        }
  </code></pre>
  
  <p>With "TestMkFPMJob" being the job class where my operations are handled, and strTimeSched is already fetched and set as 120 fetched from </p>
  
  <p>I've been looking for a similar issue but can't seem to find any tip to move forward, appreciate any.
  Please note that this is my first time using Quartz/Job scheduling.</p>