public class ExecutionPolicyCron
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
int |
stopme |
| Constructor and Description |
|---|
ExecutionPolicyCron() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkCronThread(boolean killcron) |
static java.lang.String |
createCronline(java.util.Date from,
boolean minute,
boolean hour,
boolean day,
boolean month,
boolean dow) |
static boolean |
isMatching(java.lang.String cronline,
java.util.Date d) |
static boolean |
matches(netrexx.lang.Rexx check,
netrexx.lang.Rexx currentValue,
int maxVal,
int minVal)
Called by the built-in cron to find out if an entry matches now.
|
static boolean |
matchesLastOf(netrexx.lang.Rexx what,
netrexx.lang.Rexx dows,
netrexx.lang.Rexx currDow,
netrexx.lang.Rexx actualDay,
netrexx.lang.Rexx maxDays) |
static java.lang.String |
parseSpecial(java.lang.String cronline)
Parse based on man crontab 5
|
void |
run() |
static void |
sleep(int n) |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static java.lang.String parseSpecial(java.lang.String cronline)
public static boolean isMatching(java.lang.String cronline,
java.util.Date d)
public static boolean matches(netrexx.lang.Rexx check,
netrexx.lang.Rexx currentValue,
int maxVal,
int minVal)
check - the entry from the crontabcurrentValue - the present valuemaxVal - used to determine the given value for 'wann' to be invalid (such as 'minute 71',
which will likely just never match) - a warning is logged for debugging if such a value comes uppublic static boolean matchesLastOf(netrexx.lang.Rexx what,
netrexx.lang.Rexx dows,
netrexx.lang.Rexx currDow,
netrexx.lang.Rexx actualDay,
netrexx.lang.Rexx maxDays)
public static java.lang.String createCronline(java.util.Date from,
boolean minute,
boolean hour,
boolean day,
boolean month,
boolean dow)
public static void sleep(int n)
public static void checkCronThread(boolean killcron)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.