Read the statement by Michael Teeuw here.
Replacing snow flakes with hearts in the MMM-SNOW module
-
@Hein-Jan I’m not very familiar with MMM-ModuleScheduler but I have some experience with cron jobs
It typically goes like this
[minute] [hour] [day of the month] [month] [day of the week]
in your
module_schedule: {from: '0 7 14 02 *', to: '30 23 14 02 *' }
I would replace month number from02
to2
(allowed values for that field are 1 through 12). So it would read likemodule_schedule: {from: '0 7 14 2 *', to: '30 23 14 2 *' }
Your from value would translate to something like
at 07:00am on 14th day of the month in February (it can be any day of the week)
in human languageand your to value would read as
at 11:30pm (or 23:30) on 14th day of the month in February (it can be any day of the week)
.Hope this helps.
-
@morozgrafix So cool!
-
@morozgrafix The other idea is create a module template like this where include this type, snow, new year, etc… in one module.
-
@roramirez Yes you are right, I also thought about idea of general module that can be configured with various images or possibly have a schedule that will pick images from different folders and be hidden rest of the time.
-
@morozgrafix That’s exactly what I was thinking…
-
@cowboysdude If are there some people interesting in working on this I can help. Maybe a future check is possible integregate into the core.
cc @MichMichAlso, the MMM-ModuleScheduler seems to me too nice. I’ve not been have time to test yet.
-
On scheduling and Cron Jobs.
To my regret the Schedule did not work out the way that had I planned it. My mirror did not show cute, drifting Valentine icons on Valentines Day. Some further experimentation today has shown that MMM-ModuleScheduler does not work with either an 02 or a 2 but does work with a “feb”.
-
@roramirez said in Replacing snow flakes with hearts in the MMM-SNOW module:
@cowboysdude If are there some people interesting in working on this I can help. Maybe a future check is possible integregate into the core.
cc @MichMichAlso, the MMM-ModuleScheduler seems to me too nice. I’ve not been have time to test yet.
I love working on stuff but not confident enough to pull that off LOL I know php but just learning js so I’m just tinkering with small easy to create things for now.
-
@Hein-Jan sorry it didn’t work, as I mentioned earlier I’m not familiar with ModuleScheduler.
-
i did one with leaves for fall