<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Help with MMM-ModuleSchedule to turn off monitor]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I want to use MMM-ModuleSchedule and MMM-Remote switch off the monitor. I know remote is working as I can connect to it using my phone but when I get an error message when I start to use the schedule which is just a cut and paste job. Not sure what I am doing wrong but below is the code for the two modules along with the error message when starting MM.</p>
<p dir="auto">Thanks for any help.</p>
<p dir="auto">Matthew</p>
<pre><code>{
        module: 'MMM-ModuleScheduler',
        config: {
            notification_schedule: [
                // TURN THE MONITOR/SCREEN ON AT 07:30 EVERY DAY
                {notification: 'REMOTE_ACTION', schedule: '30 6 * * *', payload: {action: "MONITORON"}},
                // TURN THE MONITOR/SCREEN OFF AT 22:30 EVERY DAY
                {notification: 'REMOTE_ACTION', schedule: '30 8 * * *', payload: {action: "MONITOROFF"}},
                {notification: 'REMOTE_ACTION', schedule: '00 16 * * *', payload: {action: "MONITORON"}},
				{notification: 'REMOTE_ACTION', schedule: '00 21 * * *', payload: {action: "MONITOROFF"}},
                
                // RESTART THE MAGICMIRROR PROCESS AT 2am EVERY SUNDAY
                {notification: 'REMOTE_ACTION', schedule: '0 2 * * SUN', payload: {action: "RESTART"}}
            ]
        }
    },
</code></pre>
<pre><code>{
        module: 'MMM-Remote-Control',
        // uncomment the following line to show the URL of the remote control on the mirror
        // position: 'top_right',
        // you can hide this module afterwards from the remote control itself
        config: {
            apiKey: ''
        }
    },
</code></pre>
<p dir="auto">This is the error message:<br />
16:43:32.896] [ERROR]  { Error: Cannot find module ‘cron’<br />
at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)<br />
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)<br />
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)<br />
at Function.Module._load (internal/modules/cjs/loader.js:528:25)<br />
at Module.require (internal/modules/cjs/loader.js:658:17)<br />
at require (internal/modules/cjs/helpers.js:20:18)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-ModuleScheduler/node_helper.js:11:15)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-ModuleScheduler/node_helper.js:327:3)<br />
at Module._compile (internal/modules/cjs/loader.js:711:30)<br />
at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10) code: ‘MODULE_NOT_FOUND’ }</p>
]]></description><link>https://forum.magicmirror.builders/topic/12301/help-with-mmm-moduleschedule-to-turn-off-monitor</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 10:52:14 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12301.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Mar 2020 17:07:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help with MMM-ModuleSchedule to turn off monitor on Sun, 08 Mar 2020 09:43:49 GMT]]></title><description><![CDATA[<p dir="auto">go to you ‘magicmirror’ folder, then to modules, and then to the MMM-Remote-Control folder and run ‘npm install’, I think you forgot that.</p>
]]></description><link>https://forum.magicmirror.builders/post/70332</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70332</guid><dc:creator><![CDATA[fribse]]></dc:creator><pubDate>Sun, 08 Mar 2020 09:43:49 GMT</pubDate></item><item><title><![CDATA[Reply to Help with MMM-ModuleSchedule to turn off monitor on Sun, 08 Mar 2020 07:45:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> thanks for the response and forgive my lack of knowledge but which of the folders listed?</p>
<p dir="auto">Matthew</p>
]]></description><link>https://forum.magicmirror.builders/post/70329</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70329</guid><dc:creator><![CDATA[mlm198]]></dc:creator><pubDate>Sun, 08 Mar 2020 07:45:30 GMT</pubDate></item><item><title><![CDATA[Reply to Help with MMM-ModuleSchedule to turn off monitor on Sat, 07 Mar 2020 18:53:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mlm198" aria-label="Profile: mlm198">@<bdi>mlm198</bdi></a> cd to that module folder, and do</p>
<pre><code>npm install -save cron
</code></pre>
<p dir="auto">Looks like the module package.json doesn’t list that drpendency</p>
]]></description><link>https://forum.magicmirror.builders/post/70312</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70312</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 07 Mar 2020 18:53:37 GMT</pubDate></item></channel></rss>