What happens when you run the shell script manually?
R
On Sep 1, 5:42 am, vanderkerkoff wrote:
> I wonder if someone can help me here
>
> We've been using cron to run an update script that looks in our django
> commmunity pages(aggy), pulls out Feeds and creates feeditems.
>
> Here's what an exa
On 01-09-11 16:15, vanderkerkoff wrote:
got it, f7*&*%678^&*&&*& bast987^&^&**
http://forum.zentyal.org/index.php?topic=7006.0
I actually wonder if I've been bitten by that one too. I also had to
restart cron on a certain server sometime in the last weeks as it didn't
seem to run :-)
Rei
got it, f7*&*%678^&*&&*& bast987^&^&**
http://forum.zentyal.org/index.php?topic=7006.0
Thanks Reinout
On Sep 1, 3:05 pm, vanderkerkoff wrote:
> right, the plot thickens, but I don't think it's django or python
> related
>
> ps aux | grep cron shows it running, but this does not work
>
> 03 15 *
On 01-09-11 15:38, vanderkerkoff wrote:
I can import fact from within a python shell by the way, so the
fact.pth is working from a shell
Perhaps just stick some debugging in the cronjob? Just add extra python
commands in there, like:
python -c "import os;print os.environ"
python -c "import s
right, the plot thickens, but I don't think it's django or python
related
ps aux | grep cron shows it running, but this does not work
03 15 * * * /bin/echo "foobar" >> /home/user/wanker
so cron isn't running the jobs, it is running though
Nearly there :-)
On Sep 1, 2:38 pm, vanderkerkoff wr
Hi Reinout
No traceback from the cron job, I've tried piping it out to a file,
but that's not giving me anything.
I think the problem lies somewhere in the fact that we're somehow
using the dist-packages folder as opposed to the site-packages folder.
God knows how or why we are using it though.
On 01-09-11 15:11, vanderkerkoff wrote:
Thanks for trying though, I will find the problem, eventually:-)
Can you specify "it stopped working" a bit, btw? Do you get a traceback,
for instance?
Reinout
--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org
Hi Reinout
I did think of that possibility earlier :-(
$ which python
/usr/bin/python
One reasonably odd thing is the site packages folder is a little
different to where I'd normally find it
$ python -c "from distutils.sysconfig import get_python_lib; print
get_python_lib()"
/usr/lib/python2.6/
On 01-09-11 14:42, vanderkerkoff wrote:
Here's what that shell script looks like
#!/bin/bash
/usr/bin/python /var/www/django/django_projects/scripts/
update_feeds.py --settings=fact.settings_computing
I've got a fact.pth file in my site-packages folder for python(fact is
the name of the django
I wonder if someone can help me here
We've been using cron to run an update script that looks in our django
commmunity pages(aggy), pulls out Feeds and creates feeditems.
Here's what an example of the cron file looks like
17 13 * * * /var/www/django/django_projects/scripts/computing_feeds.sh
He
10 matches
Mail list logo