Last active
May 30, 2020 12:14
-
-
Save Anmol-Singh-Jaggi/55f15a0d790d9d74a09798f939e21e50 to your computer and use it in GitHub Desktop.
Blog scheduler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
void run() | |
{ | |
while(true) | |
{ | |
newJob = getNewJobFromCrontabFile() // blocking call | |
JobThread newJobThread = new JobThread(newJob); | |
newJobThread.start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment