Sure it would. Depending on what are the units you are measuring it. One month is as good as one day or one week to measure the interval. The fact that you cannot easily say how many weeks correspond to one month doesn’t mean you cannot measure time in months if it is more suitable for you.
Yeah, except that one month isn’t a constant interval of time. When we say “one month” we mean “this date, next month, or the last possible date of the next month if the next month is bigger”. So if it’s 4 March, we want to go to 4 April, and if it’s 4 April, go to 4 May… But the “distance” between March and April is 31 days, whereas the distance between April and May is 30 days. And if it’s 30 January, you want to go to 28 February, which means one more special case in your logic.
If the dates you want to do “+ 1 month” are all under 28 (i.e. there’s always a corresponding date next month), you could use a script to split the current router date into day, month and a year, change the month, and just supply the result into scheduler’s “start-date”. That alone is simple enough.
If you want to also handle edge cases like dates between 28 and 31… If I needed that, I’d probably create the scheduler script via the API. In other environments, such as PHP, there are date and calendar functions. In the case of PHP, it’s as simple as using DateTime::add(). You do that over the current date and time, find out the difference in days, and add that as an interval. If the script needs to perpetuate itself, schedule it to finish off with a “/tool fetch” to the web server, which would modify it for the next month.
One question:
For example, supposing the parameter exist,
what must happen if for some reason script can not be run, for example, power failure, etc.
What you expect to happen?
And at what time you expect to run the script? at midnigth of first day of the mont?
As rextended asked: When would you excpect it tu run? On the first of each month at 5:32 AM or on the 15-th at 3:17 PM? You see, monthly is very relative. An “one month from now” also implies some uncertainty.
I support the solution of a script that runs daily, checks the date and runs the desired action on a certain date.
Supposing the parameter exist (montly),
what must happen if for some reason script can not be run, for example, power failure, etc.
What you expect to happen?
And at what time you expect to run the script? at midnigth of first day of the mont?
If someone ask that questions, problably is why someone can write one script for you…