XML Sitemaps Generator

Author Topic: Cron fails  (Read 12024 times)

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Cron fails
« on: September 22, 2010, 01:15:31 PM »
What is wrong ... cron job failing.

Resuming the last session (last updated: 1970-01-01 00:00:00)
1 | 6 | 43.0 | 0:00:08 | 0:00:48 | 1 | 704.9 Kb | 1 | 0 | 704
20 | 15 | 357.5 | 0:00:16 | 0:00:12 | 3 | 629.3 Kb | 19 | 0 | 629
40 | 24 | 538.1 | 0:00:22 | 0:00:13 | 4 | 668.9 Kb | 37 | 12 | 668
60 | 4 | 959.2 | 0:00:40 | 0:00:02 | 4 | 781.0 Kb | 49 | 14 | 781
66 | 0 | 1,126.9 | 0:00:47 | 0:00:00 | 6 | 620.8 Kb | 51 | 0 | 620
<h4>Completed</h4>Total pages indexed: 51
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div>
Warning: fopen(/home/lmpadmin/public_html/generator/data/sitemap.html): failed to open stream: Permission denied in /home/lmpadmin/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 189

Warning: fwrite(): supplied argument is not a valid stream resource in /home/lmpadmin/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 190

Warning: fclose(): supplied argument is not a valid stream resource in /home/lmpadmin/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 191
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page.
<script>
top.location = 'index.php?op=view';
</script>

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #1 on: September 22, 2010, 04:06:29 PM »
Hello,

please try to set 0666 permissions to all files inside of data/ folder.
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.

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Re: Cron fails
« Reply #2 on: September 23, 2010, 12:37:42 AM »
Cannot change permissions for 3 files in Data folder to 0666.   They are set to 644.

generator.conf
sitemap.html
sitemap2.html

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #3 on: September 23, 2010, 08:51:55 AM »
Hello,

try to remove sitemap.html and sitemap2.html files.
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.

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Re: Cron fails
« Reply #4 on: September 23, 2010, 12:26:43 PM »
Getting better ... why does it display last updated: 1970.  I ran cron twice to it should display today's date?

Resuming the last session (last updated: 1970-01-01 00:00:00)
1 | 6 | 43.7 | 0:00:06 | 0:00:37 | 1 | 706.9 Kb | 1 | 0 | 706
20 | 15 | 359.7 | 0:00:14 | 0:00:10 | 3 | 629.6 Kb | 19 | 0 | 629
40 | 24 | 541.1 | 0:00:19 | 0:00:11 | 4 | 668.9 Kb | 37 | 12 | 668
60 | 4 | 967.2 | 0:00:37 | 0:00:02 | 4 | 782.9 Kb | 49 | 14 | 782
66 | 0 | 1,137.3 | 0:00:44 | 0:00:00 | 6 | 620.6 Kb | 51 | 0 | 620
<h4>Completed</h4>Total pages indexed: 51
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div> |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page.
<script>
top.location = 'index.php?op=view';
</script>



XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #5 on: September 23, 2010, 08:06:04 PM »
It means that no previous sessions was found and it starts crawling from the scratch.
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.

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Re: Cron fails
« Reply #6 on: September 24, 2010, 12:33:42 AM »
The last updated field never changes.  Multiple cron jobs run today.  What is wrong?

Resuming the last session (last updated: 1970-01-01 00:00:00)
1 | 6 | 43.7 | 0:00:08 | 0:00:50 | 1 | 707.0 Kb | 1 | 0 | 707
20 | 15 | 357.3 | 0:00:16 | 0:00:12 | 3 | 621.4 Kb | 19 | 0 | 621
40 | 23 | 533.7 | 0:00:22 | 0:00:12 | 4 | 668.4 Kb | 37 | 12 | 668
60 | 3 | 1,003.5 | 0:00:42 | 0:00:02 | 4 | 782.5 Kb | 49 | 14 | 782
65 | 0 | 1,128.6 | 0:00:47 | 0:00:00 | 6 | 620.0 Kb | 51 | 0 | 620
<h4>Completed</h4>Total pages indexed: 51
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div> |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page.
<script>
top.location = 'index.php?op=view';
</script>



XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #7 on: September 24, 2010, 07:37:38 AM »
Hello,

which field do you mean?
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.

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Re: Cron fails
« Reply #8 on: September 24, 2010, 12:21:42 PM »
Last updated always displays 1970...  this is wrong!

Resuming the last session (last updated: 1970-01-01 00:00:00)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #9 on: September 24, 2010, 12:37:10 PM »
That is displayed when no previous update is found, you can simply ignore that since it doesn't affect sitemap generation in any way.
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.

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Re: Cron fails
« Reply #10 on: September 24, 2010, 12:54:34 PM »

STOP!!!!!!!!!!!!  There is a previous update!!!!!!!!!  And if there is not a previous update, then your sitemap program does not work!!!   This needs to be fixed, not ignored.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #11 on: September 24, 2010, 03:09:21 PM »
I'm not sure I understand correctly, please explain in details what exactly is the issue you get with sitemap.
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.

innovatrix

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 15
Re: Cron fails
« Reply #12 on: September 24, 2010, 11:29:37 PM »
My issue is with the status note sent to my email after a sitemap cron job completes. The below note is an example.  Look at the first line: Resuming the last session (last updated:1970-01-01 00:00:00).  The line is NOT correct.  the "last updated" date should reflect the date and time of the last update.  Displaying 1970 ... is wrong wrong wrong.  Note should reflect date and time of last update.  Understand?
 
Resuming the last session (last updated: 1970-01-01 00:00:00)
1 | 6 | 43.7 | 0:00:08 | 0:00:50 | 1 | 707.0 Kb | 1 | 0 | 707
20 | 15 | 357.3 | 0:00:16 | 0:00:12 | 3 | 621.4 Kb | 19 | 0 | 621
40 | 23 | 533.7 | 0:00:22 | 0:00:12 | 4 | 668.4 Kb | 37 | 12 | 668
60 | 3 | 1,003.5 | 0:00:42 | 0:00:02 | 4 | 782.5 Kb | 49 | 14 | 782
65 | 0 | 1,128.6 | 0:00:47 | 0:00:00 | 6 | 620.0 Kb | 51 | 0 | 620
<h4>Completed</h4>Total pages indexed: 51
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div> |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
 |  | 0.0 | 0:00:00 | 0:00:00 |  |  |  |  | 0
<br />Done, redirecting to sitemap view page.
<script>
top.location = 'index.php?op=view';
</script>

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Cron fails
« Reply #13 on: September 25, 2010, 08:30:18 AM »
Hello,

that doesn't affect resulting sitemap, but we will take a note of that and that will be fixed in next version of sitemap generator.
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