I am trying to create a schedule for a health rule so that is runs from 7am - 11pm Monday - Saturday. I have no problems with the 7am - 11pm. But the addition of days is proving to be troublesome. This is the start 0 0 7 ? * MON-SAT and this is the end 0 0 23 ? * MON-SAT that I tried. But I am getting a error saying that 0 0 7 ? * MON-SAT is not a parseable cron expression. But it is based on an example on the Quartz Scheduler page referenced in the AppDynamics documentation.
Any guidance that could be provided would be greatly appreciated.
Hi,
Controller evaluates the rule as per physical instance timezone where controller is installed as the config looks fine check if that is the case here , if not please send the screenshots depicting the issue and outout from controller db for query output:
mysql> select * from schedule \G;
Regards,
Arun
Hi,
Can you try the integer representation format of weekdays like below for the cron expressions and see if that suggestions helps:
0 0 7 ? * 2-7
instead 0 0 7 ? * MON-SAT.
Regards,
Arun
Hi,
Controller evaluates the rule as per physical instance timezone where controller is installed as the config looks fine check if that is the case here , if not please send the screenshots depicting the issue and outout from controller db for query output:
mysql> select * from schedule \G;
Regards,
Arun
Hi,
Does that suggestion provided helped? it looks the other format is not allowed due to UI level validation
Regards,
Arun