How to setup cron job for last day of month

You can run any command or script any time or repeatedly with the help of linux utility cron. To add a cron, just run command crontab -e, this will open a file with crontab entries if any.

https://chetnachaudhari.github.io/2016-01-26/cron-for-last-day-of-month/