James Bond
Registered
I run a fantastic little freeware called "Son of Weather Grok 3.2" from www.stimpsoft.com to monitor weather around the world.
each hour I have a cron job that copies the data/output to a file where I consolidate all the readings for later analysis.
Sometimes the graphical front end crashes (a bug) and then I get no readings until I notice that it has gone and restart it.
What I would like to do is add a cron job to check for the program being there (easy with ps and grep).....but how can I start a grahical program from the command line?
I think of applescript (perhaps) but I know nothing about it!
each hour I have a cron job that copies the data/output to a file where I consolidate all the readings for later analysis.
Sometimes the graphical front end crashes (a bug) and then I get no readings until I notice that it has gone and restart it.
What I would like to do is add a cron job to check for the program being there (easy with ps and grep).....but how can I start a grahical program from the command line?
I think of applescript (perhaps) but I know nothing about it!