Looking to execute a script on the first Monday of the month, then a different script on the first Wednesday of the month.
The issue is that if a new month starts on a Tuesday, for example, then the "first Wednesday of the month" action will hit first. I'd like to have this configured so that the "first Wednesday of the month" action only occurs if it follows a Monday within that month.
Logic can be used to figure this out from a scripting perspective, but the problem is that I need this in a cron expression since that is the only way I can schedule this in the system I am using (it requires a cron expression for advanced scheduling, and details of this system is not relevant to this question).
Edit: There is no dependency or relationship between the aforementioned scripts being executed by cron. For the sake of simplicity for the question, they would simply be two separate cronjobs in the same crontab.