Package helma.util

Examples of helma.util.CronJob


    /**
     * Add a cron job that will run once a minute
     * @param functionName the function name
     */
    public void addCronJob(String functionName) {
        CronJob job = new CronJob(functionName);

        job.setFunction(functionName);
        app.customCronJobs.put(functionName, job);
    }
View Full Code Here


     * @param hour comma separated list of hours, or *
     * @param minute comma separated list of minutes, or *
     */
    public void addCronJob(String functionName, String year, String month, String day,
                           String weekday, String hour, String minute) {
        CronJob job = CronJob.newJob(functionName, year, month, day, weekday, hour, minute);

        app.customCronJobs.put(functionName, job);
    }
View Full Code Here

TOP

Related Classes of helma.util.CronJob

Copyright © 2018 www.massapicom. 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.