Read the statement by Michael Teeuw here.
remove a module forever after a specific date and time
-
How could I remove a module forever after a specific date, month, year, time?
For example: 01-09-2021 01:00:00
MMM-ModuleScheduler seems unable to deal with “use once” scenario
-
@lkthomas you could setup a crontab to execute the removal of a specific module. But you’ll still have to remove it manually from config.js. What’s your specific use case for that? Just to understand your requirements.
-
@fozi one could sed to change the disabled: false, to true in config.js, and if using pm2, restart mm
-
@fozi I have a countdown to some event that is a one-off in my life, so after that date in a specific year (which cron can’t do a specific year), then that module will need to remove forever.
-
@lkthomas said in remove a module forever after a specific date and time:
@fozi I have a countdown to some event that is a one-off in my life, so after that date in a specific year (which cron can’t do a specific year), then that module will need to remove forever.
thanks for the awesome information.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login