how can we send email after every 5 days ???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

how can we send email after every 5 days ???

Post by djdon11 »

hi friends ..

i want to send an email to my users after every fifth(5) day....
that means every fifth day of week my users should recive the email from my site ...
how can i do that ??

the email can also carry <html> things


anybody can give me code or something helpful for me ???


Thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Use your favorite web search engine to search for "cron" and "gnu mailman".
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

This is a dupe
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

where to set cronjob

Post by djdon11 »

hi ..
are the cronjobs can only set on the control panel ... ????


aur how can we make our cronjobs .. ?????????

sorry but i am unaware of cronjobs...............
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

can any body gives me the cronjob's example?

Post by djdon11 »

hi everybody ...

can anybody give me the example code of any cronjob .....

or something like that ...

i need it urgently


thanks ...
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

if you have a cpanel host, here's a video tutorial:

http://www.2serveu.net/cpanel-tutorials ... dcron.html
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

any other solutions ???

Post by djdon11 »

hi ...

Thanks for your reply ...

if there is any other solution instead of cronjobs (crontabs) for sending emails automatically ?????


the email scheduler works for this ????
Locked