Internal jobs are programmed to be part of OpenSpecimen code architecture.
For this, you will need to create a Java class which implements OpenSpecimen's Scheduled Task interface and override the doJob() method. While running the job, you have to provide the fully qualified name of that class as an implementation field while creating internal jobs.
Example: CP expiry notification: This internal job sends notifications when CPs are expiring.