Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 17th September 2012, 12:30
ayok ayok is offline
Junior Member
 
Join Date: Sep 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cron job sends duplicate e-mails

Hi,
I am a PHP programmer but not really good with linux programming. So please be patient with me. I am busy now with a site which needs to work with the cron job. The admin panel of the server is ISPConfig 3.0.4.6. So that's why I am trying to find help here.

The cron job is working well, it executes every task with just this command:
Code:
* * * * * http://www.site.com/emails.php
However, when I tried to setup cron job to execute a script which sends emails, it sends me duplicate emails. So instead of receiving one emails I could receive 2 - 3 emails which is unexpected.

I have report this with the system administrator, but he ignores me, instead he accuse me that the mistake lays on the script. I have assured him that there is nothing wrong with the script because I've tested it with simple PHP mail(). Now the project stucks with this problem. And he, of course, is very busy with other things.

So, could someone please help me here? Thank you in advanced.

Greetings,
ayok
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
cronjob, email

Thread Tools
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron job runs on both master and mirror server, why? snowfly Installation/Configuration 7 15th May 2013 21:37
Cron job has stopped working erkan Installation/Configuration 9 21st August 2012 13:57
Cron Job delgado2061 Installation/Configuration 0 1st January 2011 03:09
Problem getting cron job to run and in need of help :) MrCompTech General 7 27th July 2010 09:50
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29


All times are GMT +2. The time now is 20:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.