Class ProjectEventEmailScheduledTaskImpl

    • Method Detail

      • emailUserTasks

        public void emailUserTasks()
        Task that checks for new events to mail to users then fires an email. This method should be made to run once per day.
        Specified by:
        emailUserTasks in interface ProjectEventEmailScheduledTask
      • getPriorDateFromCronString

        public static java.util.Date getPriorDateFromCronString​(java.lang.String cron)
        Get the last time the job was run from the given cron string
        Parameters:
        cron - the cron string
        Returns:
        A Date of the last time the job was run
      • getScheduledCronString

        public java.lang.String getScheduledCronString()
        Ge the cron string for this scheduled task
        Returns:
        the cron string