Thirty days uptime, then reboot every hour??
I would like to set a script in cron.monthly that will add a second script in cron.hourly after a month of uptime has passed, which will shutdown the system every hour.
In other words, unless the demo user knows the root password and is able to access the first job to delete it, the system will detect that it has been up for thirty (demo time) days and begin to shut down ever hour after that.
This should be easy for some of you. Thanks in advance too!
|
Recent comments
8 hours 37 min ago
13 hours 36 min ago
15 hours 2 min ago
15 hours 55 min ago
17 hours 38 min ago
22 hours 1 min ago
22 hours 54 min ago
1 day 1 hour ago
1 day 14 hours ago
1 day 15 hours ago