function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shilpa KambleShilpa Kamble 

verify schedule job expression

The scheduled job run everyday at 12 am.
String schExp = '0 0 0 * * ?';
Is it correct?
Best Answer chosen by Shilpa Kamble
Jainam ContractorJainam Contractor
Hi Shilpa,

There needs a small change in your expression. Add one more '*' at the end.

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

You can refer for more information regarding the Cron Expression.

Please let me know if you need any more assistance.

Jainam Contractor,
Salesforce Consultant,
Varasi LLC