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
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
Escalations - Cpanel Cron Setup - 06-02-2008, 03:04 AM

I followed the instructions in the manual for setting up a cron job only I specified it for tickets but its not working. Here is what my command is:

wget -O/dev/null http://support.mysupporturl.com/cron...php?_t=tickets

Did I do this right? I know that some will say to eliminate the _t=tickets part but I tried that and it doesn't work either.

Anyone?


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,922
Join Date: Jun 2005
Location: Cumbria, UK
06-02-2008, 09:19 AM

And the star part before it? What do you have there?


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 12:35 PM

What star part are you referring to? What I coppied above is exactly as I have it setup.


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#4) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,663
Join Date: Jan 2006
Location: United Kingdom
06-02-2008, 12:38 PM

Craig is probably referring to the timings of your CRON job. A full CRON command looks like;

* * 1 * wget -O/dev/null http://support.mysupporturl.com/cron...php?_t=tickets

Where the * * 1 * is a timing (i.e. "every minute"). However, if you are using cPanel or Plesk you will not have to bother with doing these yourself and will just need to check boxes - can you take a screenshot of this?


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#5) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 12:42 PM

Here you go.
Attached Images
File Type: bmp Cron Setup.bmp (973.2 KB, 21 views)


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 5,922
Join Date: Jun 2005
Location: Cumbria, UK
06-02-2008, 12:47 PM

Hmm, looks fine to me. Enter your email address in the box above so it will email you any errors and post back when you get them (if you do).


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#7) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 12:55 PM

Here is the error:

/bin/sh: /usr/bin/wget: Permission denied

How do I give myself permission?


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 5,922
Join Date: Jun 2005
Location: Cumbria, UK
06-02-2008, 01:00 PM

Ah. Try using "php -q /path/to/script.php".


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#9) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 01:11 PM

Now I get this:

No input file specified.

My command is this:
php -q /home/********/public_html/support/cron/index.php?_t=tickets


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#10) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,956
Join Date: Aug 2006
Location: Mumbai, India
06-02-2008, 02:13 PM

Seems like an issue with your host. Contact your host and ask them to give you permission to wget. You can also try curl



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#11) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 02:39 PM

what is curl and how do I use it?


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#12) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,956
Join Date: Aug 2006
Location: Mumbai, India
06-02-2008, 03:21 PM




Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#13) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 03:31 PM

This is what I get:

curl: option -O/dev/null: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

my command:
curl -O/dev/null http://support.domain.com/cron/index.php?_t=tickets


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#14) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
06-02-2008, 03:46 PM

okay my host just granted me access to wget and now its working. Thanks guys.


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#15) Old
craigbrass Offline
Senior Member
 
Posts: 5,922
Join Date: Jun 2005
Location: Cumbria, UK
06-02-2008, 05:25 PM

Your welcome.

To add, some hosts have some functions disabled for security and only grant access on a user by user basis.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
cpanel, cron, escalations, setup

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
cPanel CRON job command to retrieve POP3 emails pulpfriction How do I? 10 10-10-2007 08:46 PM
Cpanel Cron Permission Denied solution. Marc Lindsay SupportSuite, eSupport and LiveResponse 0 26-10-2006 05:21 AM
Tutorial to setup Kayako eSupport pipe parser with cPanel Webber SupportSuite, eSupport and LiveResponse 2 29-08-2006 01:37 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