Digital Marketing

Linux – Auto-Reboot and Shutdown with Cron Jobs

[ec2-user@ip-172-16-0-86 ~]$ sudo crontab -l
58 22 * * * root      /sbin/shutdown -h now # shutdown every night
[ec2-user@ip-172-16-0-86 ~]$

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership