SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Bangladesh
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Cron Settings PHP Linux

    Hello My Dear Brothers and Sisters,

    I like to know more about cpanel cron command option. Instead of providing absolute PATH can i be able to provide value of command option as
    " http://www.example.com/index.php?opt...port&view=cron " ??

    If you paste the URL[http://www.example.com/index.php?opt...ort&view=cron] on browser this will run the cron script.

    Thanks,
    Rashidul
    Capture.PNG

  2. #2
    Foozle Reducer ServerStorm's Avatar
    Join Date
    Feb 2005
    Location
    Burlington, Canada
    Posts
    2,699
    Mentioned
    89 Post(s)
    Tagged
    2 Thread(s)
    Hi,

    A little searching in DuckDuckGo turned up this http://www.developertutorials.com/tu...ks-in-php-172/
    ictus==""

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Bangladesh
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got answer from my hosting provider. And it takes only few mins to response. Siteground: You beauty

    Answer below:

    Hi Rashidul,

    You can try setting the following command to be executed as a cron job:

    lynx -source http://j25.example.net/index.php?opt...ort\&view=cron > /dev/null 2>&1

    You can set the cron from your cPanel > Cron jobs.

    If you need further help, do not hesitate to contact us again.


Bookmarks

Posting Permissions

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