public static Date getTriggerTime(Boolean morning) {
        int hour;
        if(morning) {
            hour = 7;
        } else {
            hour = 13;
        }

        Date currentTime = new Date();
        Calendar cal = new GregorianCalendar();
        cal.setTime(currentTime);
        cal.set(Calendar.HOUR_OF_DAY, hour);
        cal.set(Calendar.MINUTE, 0);

        if(cal.getTime().before(currentTime)) {
            cal.set(Calendar.DAY_OF_MONTH, cal.get(Calendar.DAY_OF_MONTH) + 1);
        }

        return cal.getTime();
    }