XML Sitemaps Generator

Author Topic: Cron job on windows server  (Read 7245 times)

ikarpenko

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Cron job on windows server
« on: September 05, 2013, 11:02:07 AM »
How to setup cron job on windows server with Plesk CP and PHP installed here: C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\ ?
Is the command line below right?
C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\ C:\Inetpub\vhosts\domain\httpdocs\generator/runcrawl.php

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Cron job on windows server
« Reply #1 on: September 08, 2013, 07:20:04 AM »
Hello,

you would need to contact your hosting support to find our exact command line, but perhaps it would look like:

Code: [Select]
C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.exe C:\Inetpub\vhosts\domain\httpdocs\generator/runcrawl.php
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

ikarpenko

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Cron job on windows server
« Reply #2 on: September 13, 2013, 09:12:21 AM »
Thank you for your help. But it doesn't work.
Here is the solution for windows server 2008 R2 standard with Plesk as CP:
Plesk -> Server-> Scheduled Tasks -> Plesk Administrator -> Add New Task ->
Path to executable file *: C:\Program Files (x86)\Parallels\Plesk\admin\bin\php.exe
Arguments: -q -dauto_prepend_file="" -c php.ini "C:\Inetpub\vhosts\DOMAIN\httpdocs\generator\runcrawl.php"

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Cron job on windows server
« Reply #3 on: September 13, 2013, 07:09:16 PM »
Hello,

have you configured notification email for the cron task? What is the output you get when scheduled task is running?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

ikarpenko

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Cron job on windows server
« Reply #4 on: September 13, 2013, 08:33:03 PM »
I have disabled email notification in cron job settings but I get it when scheduled sitemap is created:

"Hello,
you have configured your sitemap generator to receive these automated notifications every time sitemap is created.
Standalone Sitemap Generator Report - 13 September 2013, 20:00
http://www.xml-sitemaps.com
-------------------------
Sitemap details
-------------------------
Request date: 13 September 2013, 20:00
Processing time: 0:00:39s
Pages indexed: 53
Sitemap files: 1
Pages size: 1.35Mb
-------------------------
View Sitemaps
-------------------------
XML Sitemap
[external links are visible to admins only]
Text Sitemap
[external links are visible to admins only]/generator/data/urllist.txt
ROR Sitemap
[external links are visible to admins only]
HTML Sitemap
.C:/Inetpub/vhosts/datingscammers.com/httpdocs/generator/data/sitemap.html
-------------------------
Broken Links
-------------------------
0 broken links found!
View the list: [external links are visible to admins only]/generator/index.php?op=l404"

URL's for Text Sitemap, HTML Sitemap and View broken links are wrong. BUT I think it's just a bug in email notification because when I go to interface of sitemap generator  - all links are correct:

"Sitemap details
Request date: 13 September 2013, 20:00
Processing time: 0:00:39s
Pages indexed: 53
Sitemap files: 1
Pages size: 1.35Mb
Download:
XML sitemap
In text format
In ROR format
HTML sitemap "

By the way, you write:
"Create sitemap in ROR format
It will be stored in the same folder as XML sitemap, but with different filename: ror.xml"

Why ror.xml sitemap is stored in /generator folder and not in root folder?

Best regards,
Igor

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Cron job on windows server
« Reply #5 on: September 15, 2013, 03:35:00 PM »
Hello,

please let me know your generator URL/login in private message to check this.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2