//load GRIDP JobManager from module folder:
if (moduleFolder != null) {
int mode = windowsMode ?
GridpFactory.WINDOWS : GridpFactory.UNIX;
GridpFactory factory = new GridpFactory(moduleFolder, mode);
TaskManager taskManager = factory.getTaskManager();
BasicJobManager jobManager = new BasicJobManager(taskManager);
//auto-generate ID:
String id = "GRIDP Modules";
if (jobManagers.hasJobManager(id)) {