Jump to content

Cronjob gsitemap doesn't work with &id_shop=1 or &id_shop=2


Recommended Posts

Cron Jobs work fine when I us the url:

curl "http://domain.nl/modules/gsitemap/gsitemap-cron.php?token=62d00005f9"


But this only generates the sitemap with shop id 1

When I use either: 

curl "http://domain.nl/modules/gsitemap/gsitemap-cron.php?token=62d00005f&id_shop=1"

or

curl "http://domain.nl/modules/gsitemap/gsitemap-cron.php?token=62d00005f&id_shop=2"


Which is needed for the multistore second domain it does not work. Not manual not from cPanel....

Someone an idea?

I do run PS 1.6.1.18 and Gsitemap v3.2.2.

Share this post


Link to post
Share on other sites
  • 3 weeks later...
  • 1 year later...
On 12/17/2018 at 6:21 PM, Smiles said:

Cron Jobs work fine when I us the url:


curl "http://domain.nl/modules/gsitemap/gsitemap-cron.php?token=62d00005f9"


But this only generates the sitemap with shop id 1

When I use either: 


curl "http://domain.nl/modules/gsitemap/gsitemap-cron.php?token=62d00005f&id_shop=1"

or

curl "http://domain.nl/modules/gsitemap/gsitemap-cron.php?token=62d00005f&id_shop=2"


Which is needed for the multistore second domain it does not work. Not manual not from cPanel....

Someone an idea?

I do run PS 1.6.1.18 and Gsitemap v3.2.2.

Your token mismatch.

In curl URL without shop id token is "62d00005f9"
in curl URLs with shop id is "62d00005f"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More