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!

How to setup corn

Discussion in 'General Discussion' started by Tapan, Oct 12, 2005.

  1. Tapan

    Tapan Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Chandigarh
    Hi

    I have a script which i need to put in cron job and want it to run every 12 hours.
    The script connects to mysql db and sends out email and there's output in script.

    So please tell me what do i enter in cron job in cpanel in advanced mode ?

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. carlosferns2004

    carlosferns2004 Active Member

    Joined:
    May 5, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    india
    Hi

    Hello


    just add this line in cron
    command crontab -e
    0 */12 * * * path of the script file.

    This will help u out.

    Cheers

    Regards
    Carlos
    Http://indiaaccess.com
    (Web Hosting Company)
     
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