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 to setup corn

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

  1. Tapan

    Tapan Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  2. carlosferns2004

    carlosferns2004 Active Member

    Joined:
    May 5, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    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