Re: Run a command on "last day of month"

2021-09-01 Thread Adam Paulukanis
On Wed, 1 Sept 2021 at 16:32, Christian Weisgerber wrote: > > Goetz Schultz: > > > I would go the other way and check tomorrows date. If it is "01", then I > > know today is the last of this month: > > > > date --date="tomorrow" +%d > > 02 > > That's not OpenBSD. > > $ date --date="tomorrow" +%d >

Re: Run a command on "last day of month"

2021-09-01 Thread Adam Paulukanis
On Wed, 1 Sept 2021 at 16:39, Adam Paulukanis wrote: > > On Wed, 1 Sept 2021 at 16:32, Christian Weisgerber wrote: > > > > Goetz Schultz: > > > > > I would go the other way and check tomorrows date. If it is "01", then I > > > know toda