Package org.openhab.core.scheduler
Interface CronJob
@NonNullByDefault
public interface CronJob
Runnable that can be passed data and can throw a checked exception.
- Author:
- Peter Kriens - Initial contribution
-
Field Summary
-
Method Summary
-
Field Details
-
CRON
The service property that specifies the cron schedule. The type is String+.- See Also:
-
-
Method Details
-
run
Run a cron job.- Parameters:
data
- The data for the job- Throws:
Exception
- Exception thrown
-