Cronline is not valid format of cron line

Foreman 3.14
Katello 4.16

Validation failed: Triggering: Cronline 0 10 * * 0 [ $(date +%m) -ne $(date -d 6days +%m) ] is not valid format of cron line

I need to run this command to execute a playbook each last saturday of the month.
Can you help me to solve this issue ? Any workaround ?

Thx in advance

These are the docs you’re most likely looking for Managing hosts

Cron line only accepts the first five fields. With traditional cron, it is the same, all that follows is the thing to execute, the $(date +%m) -ne $(date -d 6days +%m) ] just makes it exit early on other days.