[GRLUG] crontab not running a working script

John-Thomas Richards jtr at jrichards.org
Thu Jan 12 15:25:08 EST 2012


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 you're 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.



More information about the grlug mailing list