Search in sources :

Example 1 with CloseStaleCreateRequestsTask

use of org.openmrs.module.paperrecord.CloseStaleCreateRequestsTask in project openmrs-module-pihcore by PIH.

the class PihCloseStaleCreateRequestsTask method run.

@Override
public void run() {
    log.info("Executing " + getClass());
    CloseStaleCreateRequestsTask task = new CloseStaleCreateRequestsTask();
    task.initialize(new TaskDefinition());
    task.execute();
}
Also used : TaskDefinition(org.openmrs.scheduler.TaskDefinition) CloseStaleCreateRequestsTask(org.openmrs.module.paperrecord.CloseStaleCreateRequestsTask)

Aggregations

CloseStaleCreateRequestsTask (org.openmrs.module.paperrecord.CloseStaleCreateRequestsTask)1 TaskDefinition (org.openmrs.scheduler.TaskDefinition)1