Cron Job not working

Hi, I have this method as initial (in onOpen Solution):

if(application.getApplicationType() == APPLICATION_TYPES.HEADLESS_CLIENT) {
    plugins.scheduler.addCronJob("incidencias_standBy", "0 0 6 * * ?", globals.mod_pi_incidenciasStandBy);
    [...]
}

And in Server I’ve defined a batch process that runs globals.mod_pi_incidenciasStandBy method every day at 6AM. It worked fine, but a couple of weeks ago the batch process doesn’t run that job. I don’t find anything in server log, so I don’t know what happens :cry:

Servoy Server (Servoy version 5.2.12 -build 1024) is a Win 2003 Server, in Event Viewer there’s nothing about this.

Any ideas?

I upgraded Server to v6.0.6, but I still get the same error…

I’ve created this cronJob:

plugins.scheduler.addCronJob("test", "0 5 * * * ?", test_method);

And I’ve restarted the batch process. The method test_method should be executed every 5 minutes, but it only occurs once (when the batch process starts)

I think you need to use:

plugins.scheduler.addCronJob("test", "0 0/5 * * * ?", test_method);

0/5 to indicate using increments of 5 minutes.