WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
Can I run this plugin from command line ? (4 posts)

  1. xforze
    Member
    Posted 3 years ago #

    Hi,

    is it possible to start the sitemap creation via shell like ">php command" ?

    greetz

    http://wordpress.org/extend/plugins/google-sitemap-generator/

  2. webjunk
    Member
    Posted 3 years ago #

    It will run from a browser but you could use lynx (for instance) from a shell prompt:
    lynx -dump "http://mysite.com/?sm_command=build&sm_key=xxxxxxxxx"

    curl or wget should work as well.

  3. xforze
    Member
    Posted 3 years ago #

    Hi,

    thanks for your answer.
    But I have the problem that the generation stopes after ~90 seconds.
    Im not sure if I run in some restrictions (time limit, memory limit) from my hoster.
    The limits shown in the plugin options are times higher than the real running time from the script.
    So, I got the idea to start it from cli to see why the script stops.

    greetz !!!

  4. webjunk
    Member
    Posted 3 years ago #

    You might want to check with your Host. Shared servers usually place limits on how long a single process can use CPU resources.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic