Notifications
Clear all

10/18/2023 Map Stopped Working?
Visit this post for the fix

Crontab use

5 Posts
3 Users
0 Reactions
731 Views
(@swish)
New Member
Joined: 5 years ago
Posts: 2
Topic starter  

Any plans to add scheduling?  I use to run my map only for certain hours of the day (Shut down at night) using crontab.


   
Quote
 Bill
(@liveadmin)
Member Admin Registered
Joined: 5 years ago
Posts: 0
 
Posted by: @swish

Any plans to add scheduling?  I use to run my map only for certain hours of the day (Shut down at night) using crontab.

Are you just looking for a user defined shutdown time, or are you also wanting boot up time as well?  If you wanted boot up as well we would need to leave the pi on all night, just have the LED's off during the down time.

Thoughts?

Thanks,

Bill


   
ReplyQuote
(@swish)
New Member
Joined: 5 years ago
Posts: 2
Topic starter  

Shut down and On.  Im fine with leaving the pi on 24/7.  I just had a script that I ran with crontab for lightsoff and then a lightson at the approprate times.

So yeah for my purpose it would just be lights on and off at scheduled times.


   
ReplyQuote
 Bill
(@liveadmin)
Member Admin Registered
Joined: 5 years ago
Posts: 0
 

@swish 

We will look into this feature request.

Thanks,

Bill

 


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 559
 

This was a great idea, so we incorporated it into v3.1 which is now available. The editor added 3 more settings and the Raspberry Pi's system time; 

confedit timer

Check the time at the top to be sure that the Raspberry Pi's time is set correctly for your timezone. If necessary go to the command line on your RPI and enter 'sudo raspi-config' and change the timezone to accurately reflect the time.

Then its just a matter of selecting 'Yes' under 'Use On/Off Timer' and then enter the desired 'Time Off' and 'Time On'. Use 24 hour time here. So 10 pm would be entered as '22:00'. Restart the script if its currently running so the new settings will be reloaded. 

This will turn off both the LED's and displays if used. Thanks for the suggestion. - Mark


   
ReplyQuote
Share: