On Tue, 9 Jul 2013 10:54:31 -0600, Joseph wrote:

> I would like to check if file is present via and open a terminal window
> with a simple message. I think a simple bash script and a cron job
> would do the trick or is there a better solution?
> 
> I've tried cron + bash script

I think incron may be a better fit, its jobs are triggered by file
creation, deletion or modification.


> When I open terminal and type: "terminal" new windows pops up
> But if close all the terminals and run wall.sh script the terminal will
> not open. I get an error message: (terminal:24945): Gtk-WARNING **:
> cannot open display:

You probably need to export DISPLAY in your script.


-- 
Neil Bothwick

I get enough exercise just pushing my luck.

Attachment: signature.asc
Description: PGP signature

Reply via email to