Results 1 to 6 of 6

Cron command for Dedicated Servers?

This is a discussion on Cron command for Dedicated Servers? within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, I want to use the cron instead of vBSEO Sitemap Generator's default schedule task. What is the command I ...

  1. #1
    Member
    Real Name
    Abhik Biswas
    Join Date
    Jun 2008
    Location
    Kolkata
    Posts
    97
    Liked
    8 times

    Cron command for Dedicated Servers?

    Hello,
    I want to use the cron instead of vBSEO Sitemap Generator's default schedule task.

    What is the command I need to put at the crontab to run the sitemap generator once daily at midnight? I am using CentOS 5.7 64bit

    Thanks

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    You can check readme.html file for Sitemap Generator. It has a specific section that explains what you are asking.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Member
    Real Name
    Abhik Biswas
    Join Date
    Jun 2008
    Location
    Kolkata
    Posts
    97
    Liked
    8 times
    Hello Mert,
    I looked at the readme file, but can not fine the section to setup a cron (except the section where it tells how to setup a schedule task from AdminCP). May be I am missing it somehow.
    Anyway, is this good?
    Code:
    0 2 * * * root /usr/lib/php /home/username/public_html/vbseo_sitemap/vbseo_sitemap.php

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Assuming the paths are correct, that should work at 2am server time.
    Last edited by Brian Cummiskey; 10-29-2011 at 11:58 AM.
    Brian Cummiskey / Crawlability Inc.
    Security vbulletin - Patch Level for all supported versions released!

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Member
    Real Name
    Abhik Biswas
    Join Date
    Jun 2008
    Location
    Kolkata
    Posts
    97
    Liked
    8 times
    Quote Originally Posted by Brian Cummiskey View Post
    Assuming the paths are correct, that should work at 12:02am server time.
    Oops..
    What shall I put to run it at 02:00an server time?

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    I'm sorry, it is correct as stands for 2am.

    Code:
    
    *     *     *   *    *        command to be executed
    -     -     -   -    -
    |     |     |   |    |
    |     |     |   |    +----- day of week (0 - 6) (Sunday=0)
    |     |     |   +------- month (1 - 12)
    |     |     +--------- day of  month (1 - 31)
    |     +----------- hour (0 - 23)
    +------------- min (0 - 59)

Similar Threads

  1. vBulletin 4.x Cron Error
    By ibaker in forum Troubleshooting
    Replies: 1
    Last Post: 08-04-2010, 11:48 AM
  2. Replies: 3
    Last Post: 06-26-2010, 12:15 PM
  3. GoDaddy Dedicated Servers
    By Citricguy in forum Off-Topic & Chit Chat
    Replies: 8
    Last Post: 10-17-2008, 12:51 AM

Posting Permissions

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