Jump to content


Photo

trigger email sending once a month? possible?


  • Please log in to reply
3 replies to this topic

#1 john_6767

john_6767
  • Members
  • PipPipPip
  • Advanced Member
  • 99 posts

Posted 09 October 2006 - 04:57 AM

i've got a system that needs an email to be sent once a month to the people on the mailing list automatically,

i can do it with a button to click no prob but how do i trigger this to happen once a month automatically..? ???

is it possible?

#2 Hi I Am Timbo

Hi I Am Timbo
  • Members
  • PipPipPip
  • Advanced Member
  • 109 posts

Posted 09 October 2006 - 05:50 AM

IT IS POSSIBLE!  YAY! 

The only problem, it requires server customization not available on most inexpensive hosts.  If you don't have your own server, good luck. 

Anyway, the information you are looking for is called a cron task (command run on).  Give that a go in google.

#3 xsist10

xsist10
  • Members
  • PipPipPip
  • Advanced Member
  • 114 posts

Posted 09 October 2006 - 08:15 AM

If you have access to add events to the crontab on the server you are running your website on you can make is execute a stand alone php script once a month.

The crontab is normally located at /etc/crontab

Read this: www.adminschoice.com/docs/crontab.htm
SA PHP Archives - www.phparchives.za.org

#4 john_6767

john_6767
  • Members
  • PipPipPip
  • Advanced Member
  • 99 posts

Posted 10 October 2006 - 12:07 AM

cheers, i've got cron tab ability from my server so thats great! I wondered what it did! lol




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users