Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

2506 Posts in 649 Topics- by 1315 Members - Latest Member: jfields

eTicket CommunityGeneralGeneral Discussion (Moderators: jason, Hummdis)Topic: What happend when you can't use crono job on shared host
Pages: [1]   Go Down
Print
Author Topic: What happend when you can't use crono job on shared host  (Read 1760 times)
0 Members and 1 Guest are viewing this topic.
crankez
New Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« on: December 25, 2008, 12:15:14 AM »

Hello guys

I just install eticket on shared host, evrything works well. The problem start when you dont undertood well how to setup the alias feature to get the incoming emails and show it on the ticket system in real time. The documetation no really are quite clear about it.

So i try to setup the pop retieve email way. This works but the crono job i can setup on my hosting service are limited to one crone each 5 hours. No chance.

So i cant wait 5 hours to get via pop3 all replys emails from customers. I discover i can run automail.php and im available to see the incoming emails. But this its no really good because you need to refresh that automail.php everytime you need to check incoming mails.

So i try to search for that topic but looks like im the only got that problem, no many topics about that on forums, the docs are really poor documentation about that too and no quite clear.

So anyone have a clue to fix this thing?

Thank you
Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 558



WWW
« Reply #1 on: December 28, 2008, 02:46:44 PM »

Setup a cron job on a remote system that accesses the /automail.php remotely.

The simple process of accessing the page via HTTP is enough for the code inside to be executed since the browser executes the code for you.  Therefore, by setting up a cron job on your local Linux system (or any internet enabled system) to access yourdomain.com/support/automail.php is sufficient.

Here's my cron entry:

Code:
# eTicket automailer.php get
*/5 * * * * wget -q -O /dev/null http://www.yourdomain.com/eticket/automail.php

You can also use curl instead of wget if you know curl better.

You can edit the crontab of any user on a Linux system by entering the following at the command prompt:

Code:
crontab -e

That will open the crontab file for the user in which you are currently logged into the shell as.
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Communications - Freelance Website Design & IT Consulting
crankez
New Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #2 on: January 23, 2009, 08:42:45 AM »

Thank you Hummdis, you advices are great. Myabe i will return to try again setup this aplication.

Cranko
Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 558



WWW
« Reply #3 on: January 25, 2009, 03:53:10 AM »

Yup!

Let us know if you have other trouble.
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Communications - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
Print
eTicket CommunityGeneralGeneral Discussion (Moderators: jason, Hummdis)Topic: What happend when you can't use crono job on shared host
Jump to: