Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229885

MY crontab ain't me!

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject MY crontab ain't me!
Date 2020-12-21 14:50 +0100
Message-ID <BotJv-86j-5@gated-at.bofh.it> (permalink)
Organization none,nada,zip

Show all headers | View raw


I got an email from cron this morning that needs some explaining.
Here is a dcop connand _I_ can execute, no error
/opt/trinity/bin/dcop kmail KMailIface resumeBackgroundJobs

But I put it in MY crontab and get this email

Cron <gene@coyote> /opt/trinity/bin/dcop kmail KMailIface 
resumeBackgroundJobs
 From: Cron Daemon <root@coyote.coyote.den>
 To: gene@coyote.coyote.den
 
ERROR: Couldn't attach to DCOP server!

I have other scripts to aid my incoming email that run as me, and use 
dcop to get their job done w/o a problem.

But put the exact same command in MY crontab and its rejected.

2 questions, why?, and why is this email from root?

Thanks for any enlightenment.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

MY crontab ain't me! Gene Heskett <gheskett@shentel.net> - 2020-12-21 14:50 +0100
  Re: MY crontab ain't me! Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-21 15:10 +0100
  Re: MY crontab ain't me! <tomas@tuxteam.de> - 2020-12-21 15:10 +0100
    Re: MY crontab ain't me! tomas@tuxteam.de - 2020-12-21 15:20 +0100
      Re: MY crontab ain't me! Gene Heskett <gheskett@shentel.net> - 2020-12-21 16:00 +0100
        Re: MY crontab ain't me! <tomas@tuxteam.de> - 2020-12-21 17:00 +0100
          Re: MY crontab ain't me! Gene Heskett <gheskett@shentel.net> - 2020-12-21 18:30 +0100
            Re: MY crontab ain't me! <tomas@tuxteam.de> - 2020-12-21 19:00 +0100
      Re: MY crontab ain't me! Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-21 17:10 +0100
        Re: MY crontab ain't me! tomas@tuxteam.de - 2020-12-21 19:00 +0100

csiph-web