Paul
Eric's attachment was missing.
This is the crontab we use, which he described:
- we use bash
- the file config/bash_env has most of what is usually in .bashrc;
for cron we source it, for shell we source it in .bashrc
- "daily.py --use_defaults" is the command that we want to run
- do
Paul Simon wrote:
I've written my first python script with matplotlib, which works fine at
the command line but not with cron. It's quite puzzling to me, and
probably involves some path declaration that I don't know about.
#plot data from automate.csv
import matplotlib
Right here you shoul
a more detailed way I can debug to find out where the failure is?
Paul
- Original Message -
From: "Sandro Tosi"
To: "Paul Simon"
Cc:
Sent: Thursday, June 25, 2009 12:00 PM
Subject: Re: [Matplotlib-users] Running matplotlib job with cron
> Hello Paul,
>
&g
Hello Paul,
On Thu, Jun 25, 2009 at 19:13, Paul Simon wrote:
> I've written my first python script with matplotlib, which works fine at the
> command line but not with cron. It's quite puzzling to me, and probably
> involves some path declaration that I don't know about.
I may have read the mail
I've written my first python script with matplotlib, which works fine at the
command line but not with cron. It's quite puzzling to me, and probably
involves some path declaration that I don't know about.
#plot data from automate.csv
import matplotlib
import datetime
import numpy
from matplotli