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
1 day 7 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 9 hours ago
2 days 9 hours ago
2 days 13 hours ago