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!

PHP CRON Job with MYSQL db

Discussion in 'General Discussion' started by AJ12, Feb 12, 2015.

  1. AJ12

    AJ12 Registered

    Joined:
    Feb 12, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello, I want to Run the PHP CRON JOB Which will update the database.
    Can you give me sample program for the Php cron job with mysql.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,793
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on what you are attempting to update? Typically, the PHP script you are using will provide you with instructions on what scripts are intended for use as a cron job.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AJ12

    AJ12 Registered

    Joined:
    Feb 12, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi Michael,

    Am in learning. Do you have some sample PHP Scripts which updates database through CRON job. Any small scripts example is fine to understand. Thanks
     
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