On Thu, Oct 03, 2024 at 07:47:34PM -0400, Walter Dnes wrote
>   The Gentoo install suggested using "cronie".  I want to run a script
> daily as local user.  The config I want is...
> 
> 35 7 * * * waltdnes /home/waltdnes/pm/check4update/check4update

  My email shows that the job is launching, but tripping over
permissions.  Here's what it's supposed to do...

* Because I'm running a custom build of Pale Moon web browser, I can't
  use the built-in updater from the standard version
* I want to check the palemoon.org Atom feed for new releases
* A text file "previous.txt" has the date stamp of the most recent entry
* bash script "check4update"...
*** wget's the webpage
*** greps the "<published>" lines
*** the top line has the most recent posting
*** compare the the most recent <published> date with "previous.txt"
*** if the same, exit
*** if not the same...
*** 1) update "previous.txt" with the newest date
*** 2) use "geeqie" to display a garish messege about the update

  That last step is the problem.  I get the following error...

(geeqie:14531): Gtk-WARNING **: 07:35:01.797: cannot open display:

  What do I need to do to allow "geeqie" to open up in an X window as
user "waltdnes".

-- 
There are 2 types of people in this world
1) Those who can extrapolate from incomplete data

Reply via email to