The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cron error

Discussion in 'General Discussion' started by fahl, May 12, 2011.

  1. fahl

    fahl Member

    Joined:
    Jul 30, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Can anyone help with this please,
    Trying to run cron
    0 * * * * /usr/bin/php /home/******/public_html/admin/applications_addon/ips/ipseo/sources/cron.php

    but getting this error in email notification.

    /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
    /bin/sh: -c: line 1: syntax error: unexpected end of file

    I know what problem is but dont know where file is to go to fix it lol
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What file? Your cronjob? You should be able to access to cronjob page from your cPanel UI.
     
  3. fahl

    fahl Member

    Joined:
    Jul 30, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    That is where cronjob is set up sure enough.
    But it is giving error that needs fixing,
    this is in a file that needs editing on server
    /bin/sh: -c
    but dont know where file is on server to edit it
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    And you cannot edit from in cPanel?

    All users crons are located here:
    /var/spool/cron/
     
Loading...

Share This Page