Read the statement by Michael Teeuw here.
Help with MMM-ModuleSchedule - not hiding
-
@cheminge thats crontab type
0 0 for hour minute means ONLY Then .not 1 min after midnight
* * 1 1
means anytime on 1/1we support crontab in compliments, and i recommend
this site to get the 1st 5 tokens like needed here
https://crontab-generator.org/ -
I have noticed something strange with this module.
In my log I get this message :
[2025-02-01 09:42:27.196] [LOG] MMM-ModuleScheduler is scheduling MMM-EasyPix using "* * 1 1 *" and "59 23 31 1 *" with dim level undefined [2025-02-01 09:42:27.206] [WARN] Month '1' is limited to '29' days.
February has “29” days. Not January.
So the month in my config file that I use from “https://crontab.guru/” doesn’t match what you would expect from this scheduler.
In the documentation it say
“Months 0-11 (Jan-Dec)”I have updated to use this as a key:
Month
1 = February
2= March
3 = April
4 = May
5 = June
6 = July
7 = August
8 = September
9 = October
10 = November
11 = DecemberI noticed month “0” doesn’t work for January.
Now that we are in February, it seems to be working after I set what I want to see in February as the month to be “1”
-
@cheminge yes cron uses 0-11 for month
-
-
@cheminge yes, you are correct.
The Gen I linked to also uses 1 for JanuaryWeird
-
I have updated my months to be words instead of numbers, and at first it was working, but now it is not hiding the second example module:
1st Example
module_schedule: {from: '* * * FEB *', to: '59 23 28 FEB *', dimLevel: '100'},
For March I am using:
2nd Example
module_schedule: {from: '* * * MAR *', to: '59 23 30 MAR *', dimLevel: '100'},
I would expect as of today (February 23rd, 2025) , the FEB would show, and it does. I don’t expect to see the MAR module, but it continues to show.
For now I have it committed it out, but How can I get this to hide for now, and start showing March 1st?
-
@cheminge i think dimlevel 0 is hidden
100 is shown -
@cheminge also, what is the default behavior if the module(s) are not in the ‘current’ timeframe? or not in any schedule?