Package it.sauronsoftware.cron4j

Examples of it.sauronsoftware.cron4j.Scheduler.scheduleFile()


    // Declares the file.
    File file = new File("cron4jtab.txt");
    // Creates the scheduler.
    Scheduler scheduler = new Scheduler();
    // Schedules the file.
    scheduler.scheduleFile(file);
    // Starts the scheduler.
    scheduler.start();
    // Stays alive for five minutes.
    try {
      Thread.sleep(5L * 60L * 1000L);
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.