[SOLVED] Cron
#1
Hello, Agent Kith, it's me again.

This time, may I ask for a cron in the webui, so the PC can turn off itself automatically at night?........
As I've edited cron.conf, yet the shutdown command needs root.  Obviously I won't putty.exe every night for this. 
Thank you very much for your concern again!  Smile
 Go to solution Reply

#2
(18-Mar-2019, 11:18 PM)hkphantomgtr Wrote: Hello, Agent Kith, it's me again.

This time, may I ask for a cron in the webui, so the PC can turn off itself automatically at night?........
As I've edited cron.conf, yet the shutdown command needs root.  Obviously I won't putty.exe every night for this. 
Thank you very much for your concern again!  Smile
Cron is disabled by default because it's constantly running and using up PC resources.

You can enable it manually by SSH into the machine, and run:
Quote:systemctl enable cron
systemctl start cron

That should re-enable cron (and start it automatically on reboot). The second command just start cron so you don't have to reboot.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • hkphantomgtr
Reply

#3
(19-Mar-2019, 07:48 AM)agent_kith Wrote:
(18-Mar-2019, 11:18 PM)hkphantomgtr Wrote: Hello, Agent Kith, it's me again.

This time, may I ask for a cron in the webui, so the PC can turn off itself automatically at night?........
As I've edited cron.conf, yet the shutdown command needs root.  Obviously I won't putty.exe every night for this. 
Thank you very much for your concern again!  Smile
Cron is disabled by default because it's constantly running and using up PC resources.

You can enable it manually by SSH into the machine, and run:
Quote:systemctl enable cron
systemctl start cron

That should re-enable cron (and start it automatically on reboot). The second command just start cron so you don't have to reboot. 

Ic. Thanks for your enlightening.  Then I'd rather leave it disabled.
Reply



Bookmarks



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5799
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 151

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.