SchedulingService

@Service
class SchedulingService(scheduleRepository: ScheduledMessageRepository, contactRepository: ContactRepository, chatService: ChatService)(source)

Constructors

Link copied to clipboard
constructor(scheduleRepository: ScheduledMessageRepository, contactRepository: ContactRepository, chatService: ChatService)

Functions

Link copied to clipboard
@Transactional
fun createSchedule(tenantId: String, req: CreateScheduleRequest): ScheduleResponse
Link copied to clipboard
fun listSchedules(tenantId: String, pageable: Pageable): Page<ScheduleResponse>
Link copied to clipboard
@Scheduled(fixedRate = 60000)
fun processScheduledMessages()