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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can i restart my cron jobs?

Discussion in 'General Discussion' started by oosmehdi, Feb 9, 2018.

Tags:
  1. oosmehdi

    oosmehdi Registered

    Joined:
    Feb 9, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    hi
    I chaneg my cron jobs
    and now I have a problem with earlier work cron jobs
    I want to restart my cron jobs with cpanel or whm
    how can I do??
     
  2. Chirag Aggarwal

    Joined:
    Jan 9, 2018
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Are you sure it's not your cmd/script syntax error? Cron doesn't require restart after changes but still to restart

    service crond restart
     
  3. oosmehdi

    oosmehdi Registered

    Joined:
    Feb 9, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    hi
    tanks for reply
    i have many php file who cron jobs run all that.
    Ichange all of php file and then change all cronjobs name
    Now I resive post in telegram from earlier php file and mysql does not work and I cant restart that from whm
     
  4. oosmehdi

    oosmehdi Registered

    Joined:
    Feb 9, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    my error in phpmy admin is
    Code:
    [B]Warning[/B] in ./libraries/plugins/auth/AuthenticationCpanel.php#629
    mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    
    [B]Backtrace[/B]
    
    ./libraries/plugins/auth/AuthenticationCpanel.php#629: mysqli_connect(
    string ********,
    string ********,
    string ********,
    string ********,
    string ********,
    )
    ./libraries/plugins/auth/AuthenticationCpanel.php#389: PMA\libraries\plugins\auth\AuthenticationCpanel::cp_mysql_auth_check(
    string '*********',
    string '********',
    )
    ./libraries/common.inc.php#667: PMA\libraries\plugins\auth\AuthenticationCpanel->authCheck()
    ./index.php#20: require_once(./libraries/common.inc.php)
    and I dont know what shoud I do
     
    #4 oosmehdi, Feb 10, 2018
    Last edited by a moderator: Feb 10, 2018
  5. Chirag Aggarwal

    Joined:
    Jan 9, 2018
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    This is mysql related issue not cronjob
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide more information about which cron jobs are not working, and the specific actions you took prior to them breaking? Note for phpMyAdmin, please open a separate thread since it's unrelated to the original topic.

    Thank you.
     
Loading...

Share This Page