Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
theacolyte Offline
New Member
 
Posts: 9
Join Date: Sep 2007
cron -- pop3 polling -- help - 02-09-2007, 07:58 PM

Hi All,

I get a blank page when I go to http://xxx/cron/index.php

(url is correct)

No emails are parsed.

Forced ASCII upload, chmod to 755...

Any ideas?
   
Reply With Quote
  (#2) Old
theacolyte Offline
New Member
 
Posts: 9
Join Date: Sep 2007
02-09-2007, 08:02 PM

I guess you can't run it manually like that anymore.

You have to use http://xxxx/index.php?_t=parser

Of course, now I just found that my PHP doesn't support IMAP!
   
Reply With Quote
  (#3) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
02-09-2007, 08:34 PM

You should be able to run the cron for the parser directly. No reason why it wouldn't work as this is all the cron job would do if it was setup.

As you say, you just need to get IMAP support enabled in PHP and it should work fine. Let us know if you still have problems though.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#4) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,445
Join Date: Jan 2006
Location: United Kingdom
02-09-2007, 08:37 PM

Quote:
Originally Posted by theacolyte View Post
I guess you can't run it manually like that anymore.

You have to use http://xxxx/index.php?_t=parser

Of course, now I just found that my PHP doesn't support IMAP!
The only thing that should load is a 1x1 sized (pixel) GIF file when running the cron page - it shouldn't display anything.

Make sure that the parser task is enabled under Tasks in the administrator control panel - it is disabled by default.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#5) Old
theacolyte Offline
New Member
 
Posts: 9
Join Date: Sep 2007
03-09-2007, 02:58 AM

So here's the scoop.

I made sure the task was enabled under the task scheduler. The task itself is greyed out, but it says it's enabled.

Cron is running it just fine. I can see it under the task log.

However, the task log entry is completely blank. It just shows an execution time and that it was sucessful, no title.

Any ideas?
   
Reply With Quote
  (#6) Old
theacolyte Offline
New Member
 
Posts: 9
Join Date: Sep 2007
03-09-2007, 03:51 AM

I fixed it myself.

I had to manually go into SQL table swcron and change the autorun value to 1.

Heh.
   
Reply With Quote
  (#7) Old
theacolyte Offline
New Member
 
Posts: 9
Join Date: Sep 2007
03-09-2007, 04:17 AM

What's interesting is email parsing does not take place every 10 minutes if there's another task to perform...
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
03-09-2007, 10:06 AM

That would appear to be a bug. I suggest you submit a ticket about it (http://members.kayako.net -> "Get Support") to have them investigate it as if it is a bug, they can pass it to the developers for fixing.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#9) Old
bmartindcs Offline
New Member
 
Posts: 22
Join Date: Oct 2007
Thumbs down 14-10-2007, 12:36 AM

is /cron/index.php supposed to be 755??

Default had only owner with execution rights and Cron wouldnt execute /cron/index.php properly until I CHMOD 755, then in task settings, disabled and re-enabled the pop fetching to get the "next run time" value reset to a time in the future. Next run time was stuck as same value as last run and wouldnt execute.
   
Reply With Quote
  (#10) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
14-10-2007, 08:53 AM

Tried 777? Also, what is your full cron command?


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#11) Old
bmartindcs Offline
New Member
 
Posts: 22
Join Date: Oct 2007
14-10-2007, 07:30 PM

Correction, CHMOD 755 on /cron/index.php did not fix the problem.

I noticed a couple things after my installation:

1) Pseudo Cron does not execute pop fetching period. It is enabled under task manager, and I have tried disable/enable to "wake it up". No go. All other tasks execute via pseudo cron fine

2) To get around that I setup a cron per the manual for /cron/index.php . That would not execute the mail fetcher. I opened /cron/index.php by hand in a browser and got a blank page and no mail fetcher. I changed the cron to run /cron/index.php?_t=parser and it works now. Either something is wrong, or the manual is wrong, or bug. I have submitted a ticket already and not heard back.

3) I dont know if this is related or not, but I am also having trouble with SupportSuite sending mail. I reply to a ticket in the ticket manager, and after submitting it sends me to a blank page. Mail is not delivered. I checked my Exim Log and I see no attempt to send mail.

Imap is enabled in PHP.
   
Reply With Quote
  (#12) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
14-10-2007, 08:41 PM

And your definite it is enabled inside Kayako's scheduled tasks? It should say "Disable" if it is enabled.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#13) Old
bmartindcs Offline
New Member
 
Posts: 22
Join Date: Oct 2007
14-10-2007, 09:06 PM

100% sure. And I am aware of it coming disabled and of the confusion on "it says enable" so it must be enabled, when in fact that means "TO enable it" click here. It is turned on.
   
Reply With Quote
  (#14) Old
craigbrass Offline
Senior Member
 
Posts: 5,753
Join Date: Jun 2005
Location: Cumbria, UK
14-10-2007, 09:08 PM

I suggest you contact support then (http://members.kayako.net -> "Get Support").


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#15) Old
bmartindcs Offline
New Member
 
Posts: 22
Join Date: Oct 2007
Smile 15-10-2007, 03:59 AM

Solved by upgrading PHP to 5.x (latest stable). I upgraded Mysql to latest stable 5.x as well, but I believe it was the php upgrade that did the trick.
   
Reply With Quote
Reply

Tags
cron, polling, pop3

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pop3 fetching working in a strange way Deepak SupportSuite, eSupport and LiveResponse 0 01-05-2006 05:19 PM
cron for auto close? sgwebb SupportSuite, eSupport and LiveResponse 2 10-04-2006 05:18 AM
2 Questions on V3 - POP3 Piping & Email Notifications fmckinnon E-mail Piping Issues 4 09-01-2006 11:25 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47