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
#!/home/adrian/java/openjdk-11/bin/java --source 11 | |
//Simple CRON Job reimplemented using Java APIs! | |
import java.io.File; | |
import java.util.Date; | |
import java.util.Timer; | |
import java.util.Calendar; | |
import java.util.TimerTask; | |
import java.time.LocalDateTime; |
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
group 'de.muspellheim' | |
version '1.0.0' | |
apply plugin: 'java' | |
sourceCompatibility = 1.8 | |
compileJava.options.encoding = 'UTF-8' | |
repositories { | |
jcenter() |