0

The scheduled job run everyday at 12 am.

String schExp = '0 0 0 * * ?';

Is it correct?

2

There is very good site to check the cron expression http://www.cronmaker.com/

When I checked your cron expresion here enter image description here

I get the expected result. So yes it will work.

| improve this answer | |
1
String schExp = '0 0 0 1/1 * ? *';

Try this.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.