Couple of ways that I can think of:
⢠Schedule it to run every day and use code to check if it is the last day in the getInputData() function. If not, return with no data.
⢠Create 12 separate deployments, 1 for the last day of each month and schedule them to recur yearly.