Skip to content

Instantly share code, notes, and snippets.

View afinlay5's full-sized avatar

Adrian D Finlay afinlay5

View GitHub Profile
#!/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;
@falkoschumann
falkoschumann / build.gradle
Last active March 14, 2022 11:36
javapackager with Gradle
group 'de.muspellheim'
version '1.0.0'
apply plugin: 'java'
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
jcenter()