Run script last day of the month
Hello, I'd like to know if there is a way to schedule a script to run on the last day of the month. There doesn't seem to be an option for this. Thanks.
If you enclose your script inside this if statement;
If( Month ( Get ( CurrentDate ) ) ≠ Month ( Get ( CurrentDate ) + 1 ) )
and schedule it to run everyday it will only execute the lines enclosed in the if statement on the last day of a month.
Thanks Ted, I think your tip will work fine and I'll use it. It turns out that the script was meant to be run on demand by a user, but needed to run on the last day of the month no matter what. So I just duplicated it, and added your If statement to the one I'll schedule.
I wonder why FMP doesn't add more choices to the scheduling options?
Lawrence wrote: I wonder why FMP doesn't add more choices to the scheduling options?That would be an excellent feature request ;)
That would be an excellent feature request ;)
Retrieving data ...