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
wong Offline
New Member
 
Posts: 1
Join Date: Jul 2005
cron job help - 20-10-2005, 06:14 AM

which cronjob is correct ?

lynx --dump http://domain.here/cron/index.php > /dev/null

or

*/5 * * * * GET http://www.mydomain/supportsuite/cr...x.php?_t=parser
   
Reply With Quote
  (#2) Old
Neil-UKWSD Offline
Member
 
Neil-UKWSD's Avatar
 
Posts: 627
Join Date: Jun 2003
Location: United Kingdom
20-10-2005, 08:59 AM

Hi,

Both will work, I was advised by Varun when I set our up to use the first one. It's actually setup as:

0 * * * * lynx --dump http://domain.here/cron/index.php > /dev/null

But we are using piping to get the emails into the system so don't need it running as offten.


If your using POP3/IMAP fetching you should use the following to run the parser by cron:

*/5 * * * * lynx --dump http://domain.here/cron/index.php?_t=parser > /dev/null


Obviously you need to edit the URL and path to where you have SupportSuite or eSupport installed.


Neil Wood | UK Web.Solutions Direct Ltd

UK cPanel/WHM hosting accounts
http://ukwebsolutionsdirect.co.uk
   
Reply With Quote
  (#3) Old
mommacude Offline
Member
 
Posts: 63
Join Date: Sep 2004
20-10-2005, 05:08 PM

I have tried this and for some reason it doesn't seem to be running. Is this a problem with our server? Anyone know? I used CPANEL and had it direct the results to my email and so far nothing.

And I think this is why my scheduled tasks keep stopping.
   
Reply With Quote
  (#4) Old
Neil-UKWSD Offline
Member
 
Neil-UKWSD's Avatar
 
Posts: 627
Join Date: Jun 2003
Location: United Kingdom
20-10-2005, 05:23 PM

Hi,

The /dev/null on the end tells it to discard any email output.


Neil Wood | UK Web.Solutions Direct Ltd

UK cPanel/WHM hosting accounts
http://ukwebsolutionsdirect.co.uk
   
Reply With Quote
  (#5) Old
mommacude Offline
Member
 
Posts: 63
Join Date: Sep 2004
20-10-2005, 08:37 PM

Do I need to put the beginning part on?

I see above you show:

0 * * * * lynx --dump http://domain.here/cron/index.php > /dev/null

I just entered

lynx --dump http://domain.here/cron/index.php > /dev/null

Do I need to put the 0 * * * * on there also?

Thanks for your help.
   
Reply With Quote
  (#6) Old
Neil-UKWSD Offline
Member
 
Neil-UKWSD's Avatar
 
Posts: 627
Join Date: Jun 2003
Location: United Kingdom
20-10-2005, 08:45 PM

Hi,

The 0 * * * * represent what is entered in the boxes in the advanced cron section in cPanel, set those to match and just enter the lynx --dump http://domain.here/cron/index.php > /dev/null in the command to run.


Neil Wood | UK Web.Solutions Direct Ltd

UK cPanel/WHM hosting accounts
http://ukwebsolutionsdirect.co.uk
   
Reply With Quote
  (#7) Old
mommacude Offline
Member
 
Posts: 63
Join Date: Sep 2004
20-10-2005, 09:05 PM

OK the answer I'm getting now is:

GIF89a  € ÿÿÿ !ù ,   D ;

I'm assuming this is a good result, correct? It's hitting some hidden gif file?
   
Reply With Quote
  (#8) Old
Neil-UKWSD Offline
Member
 
Neil-UKWSD's Avatar
 
Posts: 627
Join Date: Jun 2003
Location: United Kingdom
20-10-2005, 09:47 PM

Hi,

Thats fine, this is basically the gif file it runs when you access via the helpdesk to trigger the tasks.


Neil Wood | UK Web.Solutions Direct Ltd

UK cPanel/WHM hosting accounts
http://ukwebsolutionsdirect.co.uk
   
Reply With Quote
  (#9) Old
alcheme Offline
New Member
 
Posts: 9
Join Date: Apr 2006
GIF89a  € ÿÿÿ !ù ,   D ; - 05-09-2006, 08:46 PM

I have another post about this too but I also get this email notification from the CRON:

GIF89a  € ÿÿÿ !ù ,   D ;

or

GIF89a€ÿÿÿ!ù,D;Total Messages in Inbox: 0<br>Total Messages in Inbox: 0<br>0 Total Messages<br>Rejected


These are the CRONS i am trying with no luck:

* * * * * GET http://www.website.com/supportsuite/....php?_t=parser

* * * * * GET http://www.website.com/supportsuite/cron/index.php

* * * * * GET http://www.website.com/supportsuite/cron/index.php > /dev/null

5,10,15,20,25,30,35,40,45,50,55,0 * * * * GET http://www.website.com/supportsuite/....php?_t=parser > /dev/null

* * * * * lynx --dump http://www.website.com/supportsuite/cron/index.php > /dev/null

* * * * * lynx --dump http://www.website.com/supportsuite/....php?_t=parser > /dev/null
   
Reply With Quote
  (#10) Old
tbenoit Offline
New Member
 
Posts: 18
Join Date: Aug 2006
06-09-2006, 02:08 AM

Here is my job. It polls POP3 every 2 minutes:

Code:
*/2 * * * * /usr/bin/wget -O /dev/null http://www.mydomainname.com/supportsuite/cron/index.php?_t=parser >/dev/null 2>/dev/null


Thanks,

Tim Benoit
   
Reply With Quote
  (#11) Old
alcheme Offline
New Member
 
Posts: 9
Join Date: Apr 2006
/usr/bin/wget -O DID not work - 06-09-2006, 05:48 PM

Hi,

I tried the following with no luck:

*/2 * * * * /usr/bin/wget -O /dev/null http://www.website.com/supportsuite/....php?_t=parser >/dev/null 2>/dev/null

AND

* * * * * /usr/bin/wget -O /dev/null http://www.website.com/supportsuite/....php?_t=parser


Here is the email I get from the second:


"--09:44:22-- http://www.website.com/supportsuite/....php?_t=parser
=> `/dev/null'
Resolving www.website.com... done.
Connecting to www.website.com[**.**.***.47]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K 121.09 KB/s

09:44:23 (121.09 KB/s) - `/dev/null' saved [124]
"

Is this CORRECT? AM I Getting somewhere?

Shane
   
Reply With Quote
  (#12) Old
jerett Offline
Member
 
Posts: 44
Join Date: May 2005
06-09-2006, 05:53 PM

Do crons need to be setup on our part if utilizing cpanel and the piping feature?
   
Reply With Quote
  (#13) Old
tbenoit Offline
New Member
 
Posts: 18
Join Date: Aug 2006
06-09-2006, 11:13 PM

Shane,

Do this:

1) Remove the "-O /dev/null" from the command. This will have the output go to standard-out.

2) Remove the ">/dev/null 2>/dev/null> which will take care of standard-out being forced to /dev/null

Run it again and see what the output shows. All the above does is removed the parts of the command that "hides" the output so you/we can see it.


Thanks,

Tim Benoit
   
Reply With Quote
  (#14) Old
tbenoit Offline
New Member
 
Posts: 18
Join Date: Aug 2006
06-09-2006, 11:15 PM

Quote:
Originally Posted by jerett
Do crons need to be setup on our part if utilizing cpanel and the piping feature?
No. However, the problem you will then face is the onslaught of SPAM as Tickets. By having it poll for a POP3 account, the mail server's SPAM filtering will kick in before SupportSuite gets the emails to create a ticket.

Personally, I haveour SPAM filtering set to just rewrite the subject and I then have SupportSuite send all emails/tickets that begin with that subject to a "Spam" queue so I can review them (just in case there is an email that is marked as SPAM when it really isn't).


Thanks,

Tim Benoit
   
Reply With Quote
Reply

Tags
cron, job

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
cron job aborts when bad email found on POP server! Doug I. SupportSuite, eSupport and LiveResponse 13 19-09-2008 07:00 AM
Cron job to backup Kayako owned DB? christinasc SupportSuite, eSupport and LiveResponse 6 17-04-2007 07:15 PM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


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 48