XML Sitemaps Generator

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


  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Cron job doesn't work
« on: October 29, 2011, 11:51:25 AM »
I set a cronjob and I got this message from the server:
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

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: 10913
Re: Cron job doesn't work
« Reply #1 on: October 30, 2011, 05:03:31 PM »

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

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


SMF 2.0.14 | SMF © 2017, Simple Machines