# Trigger That Executes Every 90 minutes ## Using org.quartz.helpers.TriggerUtils (TriggerUtils note: in 1.5.x, org.quartz.helpers.TriggerUtils has moved to org.quartz.TriggerUtils.) Trigger That Executes Every Ninety Minutes
    /*
     * Note that this will create a trigger that starts immediately.
     * To control the start time, use trigger.setStartTime(Date)
     */
    Trigger trigger = TriggerUtils.makeMinutelyTrigger(90);
    trigger.setName("trigger1");
    trigger.setGroup("group1");
## Doing it manually Trigger That Executes Every Ninety Minutes
    /*
     * Note that this will create a trigger that starts immediately.
     * To control the start time, use trigger.setStartTime(Date)
     */
    Trigger trigger = new SimpleTrigger("trigger1", "group1");
    trigger.setRepeatCount(SimpleTrigger.REPEAT_INDEFINITELY);
    trigger.setRepeatInterval(90L * 60L * 1000L); // minutes * 60(seconds per minute) * 1000(milliseconds per second)