MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

Schedule a function in a module.



  • Hi all, I’m pretty new on this, I really love MM despite I’m not using as a mirror, I’ve installed it on a RPi2 with the touch screen display and I’m planning to use it as an alarm clock.

    I’m trying to schedule a task (basically and alarm) but I’m not able to trigger another schedule function from my module. I tried node-schedule, later, node-cron and cron without any success.

    Any idea?

    Thanks!


  • Module Developer

    Hey @veryaner, I’m currently working on a module that implements node-cron and it’s running fine. If you’re still looking for an answer, let me know.



  • @yo-less I solved in a different way that it was planned before, but just for the fill the lack of knowledge, can you share your solution?
    tks!