Coldbox Scheduled Tasks

The frequency “onFirstBusinessDayOfTheMonth( time )” has a description of “Run the task on the first Monday of every month”. The first business day of the month could be any day Mon-Fri. Can I get some clarification on whether it runs on the first Monday of the month OR the first business day, please?

If you take a look the source code, it shows MONDAY.

1 Like

Thanks for the link. I see what you are saying. The function is misnamed. If I set a task to run onFirstBusinessDayOfTheMonth( time ) my expectation is that this February 2023 it would run Wednesday the First, with the way the function works it would run February the 6th. The docs explain it that way, but the function name itself is a misnomer.

1 Like