log.log(Level.FINE, "Could not read cron file", e);
}
//
ShellFactory factory = getContext().getPlugin(ShellFactory.class);
TaskTable table = new TaskTable();
for (String cronLine : lines) {
CRaSHTaskDef crshTask = validateAndParseCronLine(cronLine);
if (crshTask != null) {
table.add(crshTask.getSchedullingPattern(), new CRaSHTask(this, factory, crshTask));
}
else {
log.log(Level.FINE, "Cannot parse cron line " + cronLine);
}
}