Results 1 to 3 of 3

Thread: Help me to use cron job

  1. #1
    Join Date
    Sep 2011
    Posts
    3

    Default Help me to use cron job

    I already read the thread about cron job, but still it doesn't work
    I need to run the "trigger.php" for every minute from public_html, i use cron job from cpanel
    At the command, i already tried to put

    http://mydomain.com/trigger.php
    and
    home/mydomain/public_html/trigger.php

    Both of them is not work...
    What should i put in command? Help me...

  2. #2
    Join Date
    Feb 2006
    Location
    North of Boston, MA
    Posts
    1,658

    Default

    redsox9 - Go Red Sox!!! 2004 and 2007 World Series Champions!
    Visit FenwayFanatics.com, home to Boston Red Sox baseball fans everywhere... now on Facebook and Twitter!

  3. #3

    Default

    Adding your URL or path is not enough. Either you have to execute it with PHP as explained above or use wget to fetch it via HTTP. SOmething like wget -O/dev/null http://example.com/cron/index.php should work.
    Design is not just what it looks like and feels like. Design is how it works.
    Hostmonster? Get a Hostmonster Coupon or read Hostmonster Reviews

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •