1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need help setting up Cron Job. It should be easy! 5$ or more

Discussion in 'Services' started by ipunkbali, Apr 17, 2010.

  1. #1
    It would easy if u know already.

    I need to set up cron job for my pligg site, I think what i need is the right command path: eg.. home/public_html/.... something.

    My hosting is hostmonster. let me know. thank u
     
    ipunkbali, Apr 17, 2010 IP
  2. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hello ipunkbali,

    You can try my free cron jobs service: www.setcronjob.com :)
    If you would like to execute a script, simply set up cron job with its URL, ie. http://example.com/something.php

    Or if you would like to use cron at cPanel, try this command
    lynx --dump http://example.com/something.php
    Code (markup):
    Hope it helps :)

    Best regards,
    Nguyen An Thuan.
     
    thuankkk, Apr 17, 2010 IP
  3. ipunkbali

    ipunkbali Well-Known Member

    Messages:
    276
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    thnk, before trying that, what do u mean by --dump?
    lynx --dump http://example.com/something.php
    Code (markup):
    I used php -q http://....import.php and its not working. :(
     
    ipunkbali, Apr 21, 2010 IP
  4. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Hi ipunkbali,

    php -q works with local file only, i.e /usr/bin/php -q /var/www/domain/import.php

    lynx --dump URL_GOES_HERE will let lynx download the page and print raw HTML out.

    Hope it helps :)

    Best regards,
    Nguyen.
     
    thuankkk, Apr 22, 2010 IP