XML Sitemaps Generator

Author Topic: completed IIS scheduled job doesn't show in admin  (Read 12029 times)

dynafish

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
completed IIS scheduled job doesn't show in admin
« on: December 22, 2009, 12:52:40 PM »
i installed generator last week on a shared IIS server and it is running fine.

we have now set up a scheduled job which, according the the website control panel, ran successfully last night (22-dec-09 00:00).

however, when looking via admin, there is no trace of the job having run - the last reported was:

Request date:
20 December 2009, 18:05
Processing time:
0:01:08s
Pages indexed:
4135

besides the date difference, i know that there are now at least 6000 pages online.

is this just a mismatch in the reporting, or is the job not running?

dynafish

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: completed IIS scheduled job doesn't show in admin
« Reply #1 on: December 22, 2009, 01:09:43 PM »
ah, ok, looking deeper into this, i see that, although the job reported an HTTP200 Success, the actual return was:

This tool can be executed in command line mode only

so how can i sort this?

dynafish

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: completed IIS scheduled job doesn't show in admin
« Reply #2 on: December 22, 2009, 02:11:45 PM »
ok so i dug a big in the forum, and found someone wh'd have a similar problem which was fixed via an amended runcrawl.php.

i tried the same and it's worked brilliantly ;D

top product by the way, very happy! we'll be converting my customers very soon....





XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: completed IIS scheduled job doesn't show in admin
« Reply #3 on: December 22, 2009, 10:45:42 PM »
Great! I'm glad that worked :)
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.

dynafish

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: completed IIS scheduled job doesn't show in admin
« Reply #4 on: January 06, 2010, 03:14:28 PM »
all is running pretty well now with the modified runcrawl.php, except that email notification doesn't seem to be working. this is the end of the runcrawl.php output, as returned by the task scheduler:

<h4>Completed</h4>Total pages indexed: 14258<br>Creating sitemaps...<br>Sending email notification...<script>
top.location = 'index.php?op=view'
</script>
PHP Warning:  mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 554 5.7.1 Message cannot be accepted, content filter rejection [external links are visible to admins only] any in D:\Domains\(..myclientsdomain.com...)\wwwroot\generator\pages\class.mail.inc.php(2) : eval()'d code on line 46

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: completed IIS scheduled job doesn't show in admin
« Reply #5 on: January 06, 2010, 10:54:35 PM »
Hello,

try to change "sendmail_from" setting in php.ini from "me@example.com" to a real email address.
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.

dynafish

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: completed IIS scheduled job doesn't show in admin
« Reply #6 on: January 07, 2010, 11:48:37 AM »
hmmm..... we're running an ASP site here, and the only PHP code is yours. i've had a look, but i can't see a php.ini anywhere... should i create one? and where should it go?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: completed IIS scheduled job doesn't show in admin
« Reply #7 on: January 08, 2010, 12:38:58 PM »
There must be an existing php.ini file somewhere, you can find it's location on phpinfo() page:
Configuration File (php.ini) Path : ....
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.

dynafish

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: completed IIS scheduled job doesn't show in admin
« Reply #8 on: January 08, 2010, 01:43:48 PM »
ok so i see this:

Configuration File (php.ini) Path    C:\WINDOWS
Loaded Configuration File    D:\php5\php.ini

as we're on shared hosting, i guess maybe i need to speak with the hosting company.. or is there an override possible?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: completed IIS scheduled job doesn't show in admin
« Reply #9 on: January 09, 2010, 02:01:54 PM »
You can try to create own file named php.ini  in generator folder. In case if doesn't work, you'll need to contact hosting support.
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