How can setup an automated mailing of datadriven content on some schedule? How can i implement using PHP? Is there any configuration on the Web Control Panel?

Any ideas?

Recommended Answers

All 3 Replies

Cron job ?

How can setup an automated mailing of datadriven content on some schedule? How can i implement using PHP? Is there any configuration on the Web Control Panel?

Any ideas?

What web control panel are you using?
Many of the web control panels used by hosting companies will allow you to set up a cron job, where you can define a PHP script to be run at a defined interval.

The other methods that work reasonably well are:

1) to have a website ping your php script eg: uptime tracking software. (ping intervals are usually preset by the website)
2) set up your most run php page on your website to trigger another php page at a certain interval. (only works if you have a lot of traffic)

I think setting up Cron Job will be a good idea, Iam using CPanel.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.