I am trying to schedule a job to run on thursday and saturday for testing purposes.
I researched and found several documents about how to do this but when implementing this in salesforce it is giving me errors. Is this function not supported or does salesforce have their own syntax for this?
According to http://www.cronmaker.com/ the syntax should be:
0 0 12 ? * THU,SAT *
.
When I try this it gives me error Illegal characters for this position: 'SAT'
Another article said to replace the days with numbers corresponding to the day of the week. So I tried:
0 0 12 ? * 5,7 *
This gives me error Based on configured schedule, the given trigger will never fire
.
I have also tried without the ending *
for both.