@sdetweil said in Schedule restart MagicMirror:
@cldparisi u have to schedule as the user not root
Yesss!!
Now I had edit crontab like pi instead root and It works!
Thanks
@sdetweil said in Schedule restart MagicMirror:
@cldparisi u have to schedule as the user not root
Yesss!!
Now I had edit crontab like pi instead root and It works!
Thanks
“pm2 restart MagicMirror” in prompt works correctly but I can’t schedule it.
In crontab I write:
0 4 * * * pm2 restart MagicMirror
but it doesn’t work
In system log there are:
magicmirror CRON[13707]: (root) CMD (pm2 restart MagicMirror)
magicmirror CRON[17838]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
How can I schedule restart?
Thanks
@sdetweil ok, ok…logger.js is only a wrapper to use console “like Log” with a same syntax.
How I can view a client Log?
is there a script or a module that write a file?
Hi all,
Log.log is the module side (client) and console.log in the NodeJs side (server).
But in log file there are only Log,log message from default Module (calendar, newsfeed…), for example there aren.t message from MMM-CECControl, MMM-MotionControl, MMM-AlexaControl.
in documentation ( https://docs.magicmirror.builders/development/logger.html ):
in MMM-CECControl.js (for example) there is Log.log(…) but in its node_helper.js ther isn’t the require, I add: const Log = require(“…/…/js/logger.js”);
but it doesn’t change, there aren’t errors butLog doesn’t work
What am I doing wrong?
Thanks
@sdetweil said in Face Recognition and Profile:
@cldparisi the face reco modules do switching for people, so u don’t need profile switcher too
I installed and configured MMM-Face-Reco-DNN and it works well.
Thanks for your suggest.
Now I’m trying MMM-MotionControl, it should work together MMM-Face-Reco-DNN …in this moment it not works very well but I don’t stop trying
@sdetweil Oh it’s better! Thanks
I try to use it.
I’d like to install a facial recognition module and then view different modules for different profile.
I found a different possibilities:
MMM-ProfileSwitcher + MMM-Face-Reco-DNN (last update 1 year ago)
MMM-ProfileSwitcher + MMM-Facial-Recognition (last update 5 years ago)
MMM-ProfileSwitcher + MMM-Faces (last update 4 months ago)
I use Raspberry Pi 3 B+
Which one do you suggest me?
are there other ones?
Thanks