| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
| 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 |
| | |
(#2)
|
| Member 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. UK cPanel/WHM hosting accounts http://ukwebsolutionsdirect.co.uk |
| | |
(#3)
|
(#4)
|
| Member 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. UK cPanel/WHM hosting accounts http://ukwebsolutionsdirect.co.uk |
| | |
(#5)
|
| 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. |
| | |
(#6)
|
| Member 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. UK cPanel/WHM hosting accounts http://ukwebsolutionsdirect.co.uk |
| | |
(#7)
|
(#8)
|
| Member 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. UK cPanel/WHM hosting accounts http://ukwebsolutionsdirect.co.uk |
| | |
(#9)
|
| 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 |
| | |
(#10)
|
(#11)
|
| 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 |
| | |
(#12)
|
(#13)
|
(#14)
|
![]() |
| Tags |
| cron, job |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |