[Devel] help needed

David Moreno Garza damog at damog.net
Mon Oct 25 23:47:52 EST 2004


On Mon, 2004-10-25 at 09:28 +0100, Rob Annable wrote:
> On Mon, 25 Oct 2004 10:23:59 +0200, Mary Gardiner
> <mary-planet at puzzling.org> wrote:
> > On Mon, Oct 25, 2004, Rob Annable wrote:
> > > Great, then here's my problem. My cron daemon spits this back at me
> > > every time it runs, the output gets rendered but the html page doesn't
> > > list the entries in the correct order. It seems to be trying to write
> > > some timestamp info somewhere but failing. Here's the error message, I
> > > currently have two rss feeds plugged into it.
> > 
> > My guess is that you need the _directory_ it's trying to write to
> > ("cache") to: already exist; and be writable by whatever user is running
> > the cron job.

What I am doing with my cron now is changing the directory of the cron
job on the bash script, something like:

#!/bin/bash
cd /var/www/planet
python planet.py config.ini

I hope this could help,

-- 
David Moreno Garza <damog at damog.net> | http://www.damog.net/
 GPG 356E16CD - 84F0 E180 8AF6 E8D0 842F  B520 63F3 08DB 356E 16CD




More information about the Devel mailing list