Drool rules using cron expression?
问题 I have one requirement that i want to fire rule only for weekdays.i have some rule like smoke, temperature, motion.can you suggest me how i can make rule as per my requirement.please provide me some example. Is there any better way to fire rules based on time other then cron? 回答1: You can fire rule on weekdays or weekends , same requirement i have faced , found some solution. you just fallow steps: DRL File: package com.javacodegeeks.drools; import java.text.DateFormat; import java.text