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: <gene@localhost.localdomain>
> 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 <gene@localhost.localdomain>)
>       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 <gene@lathe> xset -dpms
> Content-Type: text/plain; charset=UTF-8
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/home/gene>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=gene>
> Message-Id: <e1ze9tp-000591...@lathe.coyote.den>
> 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

Reply via email to