XML Sitemaps Generator

Author Topic: Cron job doesn't work  (Read 9017 times)

casacochecurro

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Cron job doesn't work
« on: October 29, 2011, 10:51:25 AM »
Hi,
I set a cronjob and I got this message from the server:
Quote
xen:~# ls -lart /var/www/vhosts/casacochecurro.com/httpdocs/generator/pages/class.utils.inc.php
-rwxrwxr-x 1 casacochecurro psacln 5617 Oct  1 19:02 /var/www/vhosts/casacochecurro.com/httpdocs/generator/pages/class.utils.inc.php
xen:~# /usr/bin/php /var/www/vhosts/casacochecurro.com/httpdocs/generator/runcrawl.php

Warning: fopen(): SAFE MODE Restriction in effect.  The script whose uid is 10001 is not allowed to access /var/www/vhosts/casacochecurro.com/httpdocs/generator/data/generator.conf owned by uid 33 in /var/www/vhosts/casacochecurro.com/httpdocs/generator/pages/class.utils.inc.php on line 102

Warning: fopen(/var/www/vhosts/casacochecurro.com/httpdocs/generator/data/generator.conf): failed to open stream: Inappropriate ioctl for device in /var/www/vhosts/casacochecurro.com/httpdocs/generator/pages/class.utils.inc.php on line 102
13:07
 

This is what I set in the crontab
Code: [external links are visible to admins only]
15      1       *       *       *       /usr/bin/php /var/www/vhosts/casacochecurro.com/httpdocs/generator/runcrawl.php >/dev/null 2>&1

What is it wrong?
Thanks in advance for any reply, J

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Cron job doesn't work
« Reply #1 on: October 30, 2011, 05:03:31 PM »
Hello,

please try to remove generator/data/generator.conf file and run generator again.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2