[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: display popup message on X with crontab



on Tue, Jan 10, 2006 at 03:41:52PM -0600, Hugo Vanwoerkom (hvw59601@care2.com) wrote:
> Hi,
> 
> How would I popup an informative message on X from a crontab entry?
> 
> There is xmessage, but from crontab?

Set your $DISPLAY variable appropriately.

    DISPLAY=:0.0 xmessage "My message"

... should work, if not in your crontab entry itself then in a script
called by same.  ":0.0" should work for most circumstances.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    Remember that the objective of any Microsoft product upgrade is to
    stimulate sales.
    - Robert X. Cringely

Attachment: signature.asc
Description: Digital signature


Reply to: