public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Walter Dnes <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cronie setup questions
Date: Wed, 9 Oct 2024 11:31:16 -0400	[thread overview]
Message-ID: <MTAwMDAyOC53ZG5lc2RheQ.1728487885@quikprotect> (raw)
In-Reply-To: <MTAwMDAwNi53ZG5lc2RheQ.1727999257@quikprotect>

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


  parent reply	other threads:[~2024-10-09 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-03 23:47 [gentoo-user] cronie setup questions Walter Dnes
2024-10-04  1:58 ` Dale
2024-10-04  4:58 ` Arve Barsnes
2024-10-09 15:31 ` Walter Dnes [this message]
2024-10-09 16:43   ` Arve Barsnes
2024-10-09 16:45   ` Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MTAwMDAyOC53ZG5lc2RheQ.1728487885@quikprotect \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox