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.