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
- don't forget that early inclusion of
matplotlib.use('Agg')
## here is the relevant part of crontab
# m h dom mon dow command
40 20 * * * (cd $HOME; . config/bash_env; daily.py --use_defaults) >
$HOME/tmp/cron.log 2>& 1
Reference for matplotlib.use('Agg'):
http://matplotlib.sourceforge.net/faq/howto_faq.html?highlight=agg#generate-images-without-having-a-window-popup
Jules
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users