Hi, i´m spanish so forgive my english.

We are trying to implement the scheduling jobs, that should be in 5.3
versions of tapestry

We do not achieve to use the org.apache.tapestry5.ioc.services.cron package,
we don't know in what JAR or dependency it is... indeed, there is a lot of
documentation and good examples of using this feature, but we cannot compile
a code like:

//taken from
http://blog.tapestry5.de/index.php/2011/09/18/scheduling-jobs-with-tapestry/
@Startup
        public static void scheduleJobs(PeriodicExecutor executor,      final
CleanupService cleanupService) {
                executor.addJob(new IntervalSchedule(300000L),
                                "Cleanup Job",
                                new Runnable() { public void run() {
                                        cleanupService.clean();
                                }
                        }
                );
}

PeriodicExecutor cannot be resolved ???

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-0-scheduling-josbs-tp4856816p4856816.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to