1
irmtfan
xhelp 0.7: checkmail.php run in cron job every minut?
  • 2005/1/4 21:09

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i see this in the dev site for this release.
email tracking working carefully. but if i use a cron job and run */2 * * * * /usr/bin/wget -q /modules/xhelp/checkemail.php every minut??? maybe my host doent like it. am i right?
is this cause any error for server? oveload or something?
thanks in advance

2
brash
Re: xhelp 0.7: checkmail.php run in cron job every minut?
  • 2005/1/4 21:12

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


If you're using shared hosting services, then my guess would be server load. Try setting the cron job to run every 15 minutes or something more relaxed and you should avoid this.

3
irmtfan
Re: xhelp 0.7: checkmail.php run in cron job every minut?
  • 2005/1/4 21:29

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


thanks brash
now how can i change it to run every hour?
what code i must put in the cron job?

4
ackbarr
Re: xhelp 0.7: checkmail.php run in cron job every minut?

the docs show how to set it up to check every other minute, which for most helpdesks will be fine. However if you are on a heavily loaded server, or are just worried about load generated, then by all means you can adjust the cron job accordingly

5
ackbarr
Re: xhelp 0.7: checkmail.php run in cron job every minut?

Quote:
0 * * * * /usr/bin/wget -q <XOOPS_URL>/modules/xhelp/checkemail.php


This should force the command to run on the hour, every hour.

6
irmtfan
Re: xhelp 0.7: checkmail.php run in cron job every minut?
  • 2005/1/4 21:41

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


ackbarr
thanks a lot. i email to my server supporter and ask them about it.
btw is email tracking system is on the plan for next version?

7
ackbarr
Re: xhelp 0.7: checkmail.php run in cron job every minut?

not sure what you mean. Email Tracking system? Users can now:
add a new ticket via email
respond to tickets via email

In addition there is a log of messages and errors with email submissions for debugging purposes.

8
irmtfan
Re: xhelp 0.7: checkmail.php run in cron job every minut?
  • 2005/1/5 4:59

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


sorry for my delay.i go to asleep last night.
yes i exactly means respond via email. how it works?
i can send a ticket via email but how can i send a respond to a ticket via email?
when i reply to an email it always create a new ticket not respond to existing ticket.

9
ackbarr
Re: xhelp 0.7: checkmail.php run in cron job every minut?

once you submit a ticket - you should receive an email confirmation. That email is to include a support key (in the body). If an email is sent that includes this support key it is considered a reply to the original ticket.

Make sure that your email templates are setup properly:
/mail_template/ticket_newticket_byemail_notify.tpl
/mail_template/ticket_newresponse_notify.tpl

Both these templates need the following text somewhere in the template:
{TICKET_SUPPORT_KEY}

10
ackbarr
Re: xhelp 0.7: checkmail.php run in cron job every minut?

1 follow up to this issue. If you submit a ticket via the web interface, it is not possible to reply to the ticket via email .

Login

Who's Online

119 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 119


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits