Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with using MMM-ModuleScheduler to configure the route refresh interval #37

Open
epetela51 opened this issue Jun 21, 2024 · 0 comments

Comments

@epetela51
Copy link

Hey there. Love this module it's awesome but have a question/getting stuck with using ModuleScheduler to refresh route interval. I looked at the documentation for ModuleScheduler as well but in your example you use (referenced below) you are setting it so that it refreshes every minute from 7-8. It reads to me as refresh at 7am M-F but I can't tell how you are setting 8 as the end time and how you are setting it so that it's every minute during that 7-8 window.

It's possible it's in the other documentation for the other module but I didn't see it (at least not clearly to me) so I thought I'd ask here to see if you can provide some insight. Thanks again!

    {
        module: 'MMM-ModuleScheduler',
        config: {
            notification_schedule: [
                // Refresh the route every minute from 7:00 AM to 8:00 AM, monday to friday
                { notification: 'MMM-google-route/refresh', schedule: '* 7 * * 1-5' }
            ]
        }
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant