Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    8

    Default Cpanel Cron Job Permission Denied

    I am trying to run:
    /bin/sh: line 1: /home/userisme/public_html/inserts/cron_user_views.php: Permission denied

    I have CHMOD set to 777. Anyone know how to make this execute?

    I have tested the script in a browser and I know there are no errors in it.

    Thank you,

  2. #2
    Member
    Join Date
    Jul 2004
    Posts
    8

    Default

    BAH! I did two things wrong

    1. set the FILE to 755
    2. use /usr/local/bin/php /home/mine/public_html/inserts/cron_user_views.php

    works like a dream!

    note the first part with the space there. That directs to PHP on your server.

Similar Threads & Tags
Similar threads

  1. Cpanel - Permission denied when trying to modify a file
    By laviolette99 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-07-2011, 12:21 PM
  2. Permission denied when creating email account on cpanel
    By gadprey in forum E-mail Discussions
    Replies: 7
    Last Post: 01-11-2011, 03:37 PM
  3. Replies: 2
    Last Post: 09-29-2010, 06:27 PM
  4. Replies: 2
    Last Post: 11-30-2009, 05:37 AM
  5. cron permission denied
    By DSD in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-26-2003, 11:20 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube