text: SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517403125 AND (NEXT_FIRE_TIME >= 1339517313126) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  select 'true;';
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT * FROM QRTZ_LOCKS
  WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517430651 AND (NEXT_FIRE_TIME >= 1339517340666) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT COUNT(TRIGGER_NAME) FROM QRTZ_TRIGGERS WHERE NEXT_FIRE_TIME < 1339517359354 AND ((TRIGGER_STATE = 'MISFIRED') OR (TRIGGER_STATE = 'WAITING'));
  select 'true';
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, ';'
  NEXT_FIRE_TIME, PRIORITY
  FROM QRTZ_TRIGGERS
  WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517456273
  AND (NEXT_FIRE_TIME >= 1339517366275)
  ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT @@session.auto_increment_increment;
  SELECT @@session.auto_increment_increment;
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'STATE_ACCESS' FOR UPDATE;
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT DISTINCT INSTANCE_NAME FROM QRTZ_FIRED_TRIGGERS;
  INSERT INTO QRTZ_SCHEDULER_STATE (INSTANCE_NAME, LAST_CHECKIN_TIME, CHECKIN_INTERVAL) VALUES('myserver1339517492937', 1339517493057, 20000);
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT * FROM QRTZ_FIRED_TRIGGERS WHERE INSTANCE_NAME = 'MYINSTANCE';
  DELETE FROM QRTZ_FIRED_TRIGGERS WHERE INSTANCE_NAME = 'MYINSTANCE';
  DELETE FROM QRTZ_SCHEDULER_STATE WHERE INSTANCE_NAME = 'MYINSTANCE';
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT COUNT(TRIGGER_NAME)
  FROM QRTZ_TRIGGERS WHERE NEXT_FIRE_TIME < 1339517433086
  AND ((TRIGGER_STATE = 'MISFIRED') OR (TRIGGER_STATE = 'WAITING'));
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517523073 AND (NEXT_FIRE_TIME >= 1339517433087) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  SELECT @@session.auto_increment_increment;
  SELECT @@session.auto_increment_increment;
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517547996 AND (NEXT_FIRE_TIME >= 1339517458018) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  select 'true';
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517577716 AND (NEXT_FIRE_TIME >= 1339517487719) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  SELECT COUNT(TRIGGER_NAME) FROM QRTZ_TRIGGERS
  WHERE NEXT_FIRE_TIME < 1339517493041 AND ((TRIGGER_STATE = 'MISFIRED') OR (TRIGGER_STATE = 'WAITING'));
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  select 'true';
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY, ';'
  FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517606705
  AND (NEXT_FIRE_TIME >= 1339517516707)
  ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  SELECT @@session.auto_increment_increment;
  SELECT @@session.auto_increment_increment;
  SELECT 1;
  SELECT 1;
  SELECT * FROM QRTZ_SCHEDULER_STATE;
  SELECT * FROM QRTZ_LOCKS WHERE LOCK_NAME = 'TRIGGER_ACCESS' FOR UPDATE;
  SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM QRTZ_TRIGGERS WHERE TRIGGER_STATE = 'WAITING' AND NEXT_FIRE_TIME < 1339517633094 AND (NEXT_FIRE_TIME >= 1339517543097) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC;
  SELECT @@session.auto_increment_increment;
  SELECT @@session.auto_increment_increment;