Hi, The cron for everyday at midnight would be "0 0 0 * * ?". You have to use '?' in one of day-of-week or day-of-month [1]
[1] http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger Regards, Nufail On Fri, Apr 24, 2015 at 3:41 PM, Seshika Fernando <[email protected]> wrote: > Hi, > I want to schedule a task to run a sequence everyday at midnight. I > provided the cron string as " 0 0 * * * * ". But this throws a runtime > exception which says that "Support for specifying both a day-of-week AND a > day-of-month parameter is not implemented." > > What does it expect? I tried "0 0 * * * ?". This is accepted, however, the > task does not run eventhough its accepted. > > Any ideas? > > seshi > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
