Closed Thread
This thread has been escalated.
Results 1 to 5 of 5

Thread: Cron. Operation not permitted. Part 3

  1. #1
    aropan18 is offline x10Hosting Member aropan18 is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    17

    Cron. Operation not permitted. Part 3

    Hello,

    When I try to add "/usr/bin/php -f /home/aropan/public_html/update.php >> /home/aropan/public_html/logs/update.html 2>&1" every "*/15 * * * *" I get:
    Error
    /usr/bin/crontab: error renaming /var/spool/cron/tmp.XXXXVx57qN to /var/spool/cron/aropan
    rename: Operation not permitted.


    Screenshot:
    Cron. Operation not permitted. Part 3-cron.jpg

    Q: Are you editing the cron jobs via cPanel or some other method?
    A: via cpanel

    Q: Are you renaming files inside your php script?
    A: No, only read, write and create files, create directory...

    I think that forbade me to add new jobs cron by limiting access to the file /var/spool/cron/aropan. Whether it has something to fix.

  2. #2
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Re: Cron. Operation not permitted. Part 3

    Assuming the script works when called manually from a browser, I would hazzard that it's the Cron account lacking permission to perform the action. More of a security feature than a bug.


    Give this a try...
    Change the cron command to:

    /usr/bin/php -f /home/aropan/public_html/shunt.php


    shunt.php
    PHP Code:
    <?php
    $url 
    ='http://yourdomain.xyz/update.php';
    header('Location: '.$url);
    ?>
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  3. #3
    aropan18 is offline x10Hosting Member aropan18 is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    17

    Re: Cron. Operation not permitted. Part 3

    Cron. Operation not permitted. Part 3-cron.jpg

  4. #4
    aropan18 is offline x10Hosting Member aropan18 is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    17

    Re: Cron. Operation not permitted. Part 3

    any other idea?

  5. #5
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Cron. Operation not permitted. Part 3

    I'll escalate your request.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

Closed Thread

Similar Threads

  1. Cron. Operation not permitted. Part 2
    By aropan18 in forum Free Hosting
    Replies: 2
    Last Post: 12-01-2011, 12:16 AM
  2. Cron. Operation not permitted
    By aropan18 in forum Free Hosting
    Replies: 4
    Last Post: 11-29-2011, 01:08 AM
  3. Operation not permitted
    By bobl6156 in forum Free Hosting
    Replies: 0
    Last Post: 11-12-2011, 06:05 PM
  4. .htaccess Operation not permitted
    By christiand14 in forum Free Hosting
    Replies: 4
    Last Post: 11-07-2010, 12:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers