[GRLUG] crontab not running a working script
scott.tanner at comcast.net
scott.tanner at comcast.net
Thu Jan 12 16:00:07 EST 2012
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?
- Can you add the --print-configs and/or --print-servers options to syncevolution?
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
------
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.
_______________________________________________
grlug mailing list
grlug at grlug.org
http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
--
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