Python Forum
Set screen saver time? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: Set screen saver time? (/thread-36169.html)



Set screen saver time? - Extra - Jan-23-2022

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.


RE: Set screen saver time? - Larz60+ - Jan-24-2022

Thread moved, not a python query.


RE: Set screen saver time? - snippsat - Jan-24-2022

(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.