Python Forum

Full Version: Set screen saver time?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm wondering if it's possible to have the screen saver come on at a certain time and turn off at a certain time.
Ex) if it's 10:00pm then the screen saver turns off and if its 7:00am the screen saver turn off.

It's either that or having my pi turn on/off at scheduled times.

Is that possible and if so how would I go about doing that?

Thanks.
Thread moved, not a python query.
(Jan-23-2022, 08:24 PM)Extra Wrote: [ -> ]I'm wondering if it's possible to have the screen saver come on at a certain time and turn off at a certain time.
Ex) if it's 10:00pm then the screen saver turns off and if its 7:00am the screen saver turn off.
Can use OS schedule like cron, crontab guru.
Python has several 3-party modules that is good at this, schedule, python-crontab, APScheduler.