I would like to hear some ideas on how to set the computer to shut-down due to inactivity. The feature to sleep the computer for inactivity doesn't work properly as my computer doesn't support a "sleep" feature. It can only hibernate or shut down. Any thoughts?
Bradley
On Wed, 2009-04-22 at 08:06 -0500, Bradley wrote:
I would like to hear some ideas on how to set the computer to shut-down due to inactivity. The feature to sleep the computer for inactivity doesn't work properly as my computer doesn't support a "sleep" feature. It can only hibernate or shut down. Any thoughts?
It's F8 (not FC8) and it's no longer supported. You'd be advised to upgrade to F9 or F10 and try again.
poc
Patrick O'Callaghan wrote:
On Wed, 2009-04-22 at 08:06 -0500, Bradley wrote:
I would like to hear some ideas on how to set the computer to shut-down due to inactivity. The feature to sleep the computer for inactivity doesn't work properly as my computer doesn't support a "sleep" feature. It can only hibernate or shut down. Any thoughts?
It's F8 (not FC8) and it's no longer supported. You'd be advised to upgrade to F9 or F10 and try again.
poc
Unfortunately, what you suggest is not possible at this time. Some of us just can't simply up and upgrade since we have other users to consider and work around.
Bradley
Bradley wrote:
Unfortunately, what you suggest is not possible at this time. Some of us just can't simply up and upgrade since we have other users to consider and work around.
Those other users will have to get used to the new version. As Fedora 8 no longer gets security (or any other) updates, NOBODY should be running it anymore.
Kevin Kofler
On Wed, 2009-04-22 at 17:22 -0500, Bradley wrote:
Patrick O'Callaghan wrote:
On Wed, 2009-04-22 at 08:06 -0500, Bradley wrote:
I would like to hear some ideas on how to set the computer to shut-down due to inactivity. The feature to sleep the computer for inactivity doesn't work properly as my computer doesn't support a "sleep" feature. It can only hibernate or shut down. Any thoughts?
It's F8 (not FC8) and it's no longer supported. You'd be advised to upgrade to F9 or F10 and try again.
poc
Unfortunately, what you suggest is not possible at this time. Some of us just can't simply up and upgrade since we have other users to consider and work around.
If you support multiple users you should consider whether Fedora is the best system for you. It changes every 6 months or so and support falls off a cliff after two version changes. If you can't deal with that, you might be better with some other distro, e.g. Centos.
poc
Patrick O'Callaghan wrote:
On Wed, 2009-04-22 at 17:22 -0500, Bradley wrote:
Patrick O'Callaghan wrote:
On Wed, 2009-04-22 at 08:06 -0500, Bradley wrote:
I would like to hear some ideas on how to set the computer to shut-down due to inactivity. The feature to sleep the computer for inactivity doesn't work properly as my computer doesn't support a "sleep" feature. It can only hibernate or shut down. Any thoughts?
It's F8 (not FC8) and it's no longer supported. You'd be advised to upgrade to F9 or F10 and try again.
poc
Unfortunately, what you suggest is not possible at this time. Some of us just can't simply up and upgrade since we have other users to consider and work around.
If you support multiple users you should consider whether Fedora is the best system for you. It changes every 6 months or so and support falls off a cliff after two version changes. If you can't deal with that, you might be better with some other distro, e.g. Centos.
+1 (Except change "might" to "will")
On Wed, Apr 22, 2009 at 9:06 AM, Bradley pursley001@comcast.net wrote:
I would like to hear some ideas on how to set the computer to shut-down due to inactivity. The feature to sleep the computer for inactivity doesn't work properly as my computer doesn't support a "sleep" feature. It can only hibernate or shut down. Any thoughts?
Bradley
If you think this is a limitation of your software, then try with Fedora10 or something newer.
However the following is just an idea: I wrote a bash script to do exactly this. Basically the script works like this: I have a set of applications. Once every minute I check if those applications are running by awking or grepping something out of ps or top or whatever. If none are running I increment a counter, and sleep for a minute. Once this counter reaches 15 (ie. 15min) I execute a shutdown. If any are running, then I reset the counter to 0, sleep for a min, and repeat. (If the cpu load is higher than a threshold or if certain lockfiles exist, I also reset the counter)
I did this on a 5 yr old Redhat8 computer, so the basics apply to any linux. I launch the script as root out of rc.local. I'm pretty sure the hibernate can be called via a command using pm-utils in newer versions of Fedora.
-Mauriat