[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Condor-users] How to run jobs ONLY when no users are logged in?
- Date: Mon, 19 Jul 2004 11:28:28 -0600
- From: bgore@xxxxxxxxxx
- Subject: RE: [Condor-users] How to run jobs ONLY when no users are logged in?
Well, it would be ultimate if you reported CONSOLE_LOGIN_COUNT as well as REMOTE_LOGIN_COUNT, but I honestly believe that LOGIN_COUNT would be sufficient. I didn't really intend for you to have to do much extra work to provide this, but again if you have the info, it'd be great if you'd include it in the machine ClassAd.
Thanks Erik! ~Brooklin
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Erik Paulson
Sent: Monday, July 19, 2004 11:11 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] How to run jobs ONLY when no users are logged in?
On Mon, Jul 19, 2004 at 10:49:44AM -0600, bgore@xxxxxxxxxx wrote:
> So Nick, can we make a formal request to add the login user count to
> the Machine ClassAd then? (If so, consider this it)
On the Mac and on Windows, it's very easy for us to say "Is there someone logged in" as in "Is there a screen floating around that says "press
control-alt-delete" to login".
On most other platforms, are you OK with just the output of the 'w' command (ie how many valid entries in the utmp file)? We could try and go one further, and figure out of the machine is at an xdm/gnome-login/kde-login prompt, though it could make for a messy startd ad
> I've tried to do this via STARTD_CRON on Windows by poking around in
> the registry and it's tricky due to the security model, so if you have
> the info already, it'd be great to just publish it for us.
Condor-users mailing list