Re: [Emc-users] Slowly growing /var/mail/gene file

2015-07-12 Thread Gene Heskett
On Sunday 12 July 2015 03:02:19 Rafael wrote:
> Gene,
>
> On 07/11/2015 11:32 PM, Gene Heskett wrote:
> > Hi all;
> >
> > I have put a crontab entry
>
> cron job is an overkill IMO.
> It's better to disable it at login rather than kill with cronjob.

I've tried that, but in a few hours it seem to get re-enabled from some 
source, hence the hourly override attempt via crontab.

Thanks Rafael.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Slowly growing /var/mail/gene file

2015-07-12 Thread Gene Heskett


On Sunday 12 July 2015 03:01:18 Erik Christiansen wrote:
> On 12.07.15 02:32, Gene Heskett wrote:
> > I have put a crontab entry
> >
> > 34 * * * * xset -dpms
>
> To avoid the error mail, I'd change that to:
>
> 34 * * * * xset -dpms -display :0.0

Done, and thank you. I put a tail on it to see if it helps, but it sure 
makes sense.  I'll advise if it doesn't.  I have the same unwanted dpms 
on 2 other machines but this is the one I tried to "fix".

> That'll avoid the:
> > xset:  unable to open display ""
>
> and the emails should go away.
> (Well, it did for me, last time I had a crontab fiddling with X.)
>
> Erik

Thanks Erik.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Slowly growing /var/mail/gene file

2015-07-12 Thread Rafael
Gene,
On 07/11/2015 11:32 PM, Gene Heskett wrote:
> Hi all;
>
> I have put a crontab entry
>

cron job is an overkill IMO.
It's better to disable it at login rather than kill with cronjob.

check this link:
http://ubuntuforums.org/showthread.php?t=2105381

> 34 * * * * xset -dpms
>
> in my user=gene crontab file
>
> The idea being to disable the screen blanker.
>
> This is a command that doesn't generate an error when I type it in.
>
> But I've just  discovered that the subject mail file is just shy of a
> megabyte, containing:
> 
>>From gene@localhost.localdomain Sun Jul 12 01:34:02 2015
> Return-path: 
> Envelope-to: gene@localhost.localdomain
> Delivery-date: Sun, 12 Jul 2015 01:34:02 -0400
> Received: from gene by lathe.coyote.den with local (Exim 4.80)
>   (envelope-from )
>   id 1ZE9tp-000591-SS
>   for gene@localhost.localdomain; Sun, 12 Jul 2015 01:34:01 -0400
> From: root@localhost.localdomain (Cron Daemon)
> To: gene@localhost.localdomain
> Subject: Cron  xset -dpms
> Content-Type: text/plain; charset=UTF-8
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> Message-Id: 
> Date: Sun, 12 Jul 2015 01:34:01 -0400
>
> xset:  unable to open display ""
> 
> A few thousand copies of this, adding one more per hour.  And the blanker
> is not disabled in practice.
>
> So, why can I do it, but my crontab cannot?
>
> Thanks guys.
>
> Cheers, Gene Heskett
>

-- 
Rafael

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Slowly growing /var/mail/gene file

2015-07-11 Thread Erik Christiansen
On 12.07.15 02:32, Gene Heskett wrote:
> I have put a crontab entry
> 
> 34 * * * * xset -dpms

To avoid the error mail, I'd change that to:

34 * * * * xset -dpms -display :0.0

That'll avoid the:

> xset:  unable to open display ""

and the emails should go away.
(Well, it did for me, last time I had a crontab fiddling with X.)

Erik

-- 
The Kyoto Protocol, drafted in 1997, aimed to reduce the world's greenhouse gas
emissions by around five per cent from 1990 levels by the end of 2012.
Instead, global greenhouse gases have risen around 58 per cent in that time.
 - 
http://www.abc.net.au/news/2012-12-08/troubled-un-climate-talks-spill-over/4416696

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Slowly growing /var/mail/gene file

2015-07-11 Thread Gene Heskett
Hi all;

I have put a crontab entry

34 * * * * xset -dpms

in my user=gene crontab file

The idea being to disable the screen blanker.

This is a command that doesn't generate an error when I type it in.

But I've just  discovered that the subject mail file is just shy of a 
megabyte, containing:

>From gene@localhost.localdomain Sun Jul 12 01:34:02 2015
Return-path: 
Envelope-to: gene@localhost.localdomain
Delivery-date: Sun, 12 Jul 2015 01:34:02 -0400
Received: from gene by lathe.coyote.den with local (Exim 4.80)
(envelope-from )
id 1ZE9tp-000591-SS
for gene@localhost.localdomain; Sun, 12 Jul 2015 01:34:01 -0400
From: root@localhost.localdomain (Cron Daemon)
To: gene@localhost.localdomain
Subject: Cron  xset -dpms
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
Message-Id: 
Date: Sun, 12 Jul 2015 01:34:01 -0400

xset:  unable to open display ""

A few thousand copies of this, adding one more per hour.  And the blanker 
is not disabled in practice.

So, why can I do it, but my crontab cannot?

Thanks guys.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users