Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

A scheduled task in OpenMRS runs every so often and does tasks in the background.

Every task is run on a new thread.

Your class should extend AbstractTask

Examples

http://source.openmrs.org/browse/OpenMRS/trunk/api/src/main/java/org/openmrs/scheduler/tasks

Authentication

As of 1.7.0 tasks are executed as the Daemon User. This gives them all privileges without having to use Context.addProxyPrivilege().

See Also

Administering Scheduled Tasks

  • No labels