[Gllug] Running gnome-terminal from cron

Simon Morris simon.morris at cmtww.com
Tue Feb 21 22:44:27 UTC 2006


Martin A. Brooks wrote:
> Simon Morris wrote:
> 
>  > */15 * * * * gnome-terminal --display :0 --command "python
>  > /home/sm/tmp/morris/trunk/pytears/pytears.py"
>  >
>  > and it doesn't work :(
> 
> Try specifying full paths to every binary.

Righto - I'll try that

> 
>  > How can I open a gnome terminal screen every n minutes from cron?
> 
> This sounds like a recipe for disaster.

Nah - should be OK. It is for my laptop, not an always on system and I 
need to run this script at set intervals during the day (timesheet 
application)

I can always write something in the Python to die quietly if called on 
Saturday.

Thanks

~sm
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list