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/
-rwxrwxr-x 1 casacochecurro psacln 5617 Oct  1 19:02 /var/www/vhosts/
xen:~# /usr/bin/php /var/www/vhosts/

Warning: fopen(): SAFE MODE Restriction in effect.  The script whose uid is 10001 is not allowed to access /var/www/vhosts/ owned by uid 33 in /var/www/vhosts/ on line 102

Warning: fopen(/var/www/vhosts/ failed to open stream: Inappropriate ioctl for device in /var/www/vhosts/ on line 102

This is what I set in the crontab
Code: [ External links are visible to forum administrators only ]
15      1       *       *       *       /usr/bin/php /var/www/vhosts/ >/dev/null 2>&1

What is it wrong?
Thanks in advance for any reply, J
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.