[GRLUG] crontab not running a working script
John-Thomas Richards
jtr at jrichards.org
Thu Jan 12 16:40:52 EST 2012
On Thu, Jan 12, 2012 at 09:00:07PM +0000, scott.tanner at comcast.net wrote:
> So its using your account and home dir. Path is pretty limited, but
> I'm not sure that would cause the password issue.
>
> - Are the permissions on the .something config file set to allow
> read access to jtr?
Yes; all files are owned with read and/or write access.
> - Can you add the --print-configs and/or --print-servers options to
> syncevolution?
Um...to the crontab entry?
>
> Scott
> ----- Original Message -----
> From: "John-Thomas Richards" <jtr at jrichards.org>
> To: "Mailing List for LUG in greater Grand Rapids, MI area." <grlug at grlug.org>
> Sent: Thursday, January 12, 2012 3:25:08 PM
> Subject: Re: [GRLUG] crontab not running a working script
>
> On Thu, Jan 12, 2012 at 08:02:10PM +0000, scott.tanner at comcast.net wrote:
> > Can you add a troubleshooting commands to the cron job, such as:
> >
> > 1 23 * * * env && /home/jtr/bin/syncmemotoo
> >
> > This will spit out some environment variables when the process runs,
> > I'd be curious as to the PWD, PATH and LOGIN variables.
>
> Great idea!
>
> HOME=/home/jtr
> LOGNAME=jtr
> PATH=/usr/bin:/bin
> LANG=en_US.UTF-8
> SHELL=/bin/sh
> PWD=/home/jtr
> [INFO] todo: inactive
> [INFO] calendar+todo: inactive
> [INFO] memo: inactive
> Enter password for memotoo: [ERROR] error code from SyncEvolution fatal error (local, status 10500): could not read password for memotoo
>
> Synchronization failed, see /home/jtr/.cache/syncevolution/memotoo-2012-01-12-15-19/syncevolution-log.html for details.
>
> > Also, can you run the "syncevolution memotoo" command from anywhere on
> > the system, or do you have to be in your home dir?
>
> I can run it from any dir.
>
> [snip]
> --
> john-thomas
--
john-thomas
------
You do not examine legislation in the light of the benefits it will convey
if properly administered, but in the light of the wrongs it would do and
the harms it would cause if improperly administered.
Lyndon B. Johnson, 36th US president (1908-1973)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the grlug
mailing list