Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cron error

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

  1. fahl

    fahl Active Member

    Joined:
    Jul 30, 2008
    Messages:
    32
    Likes Received:
    2
    Trophy Points:
    58
    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:
    16,234
    Likes Received:
    383
    Trophy Points:
    583
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fahl

    fahl Active Member

    Joined:
    Jul 30, 2008
    Messages:
    32
    Likes Received:
    2
    Trophy Points:
    58
    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:
    16,234
    Likes Received:
    383
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    And you cannot edit from in cPanel?

    All users crons are located here:
    /var/spool/cron/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice