0

Hello,

I have a website for musicians where all users can post their ads for free.

I need a script that send an email for a member user when his ad is going to
be expired (let say after 30 days).

Any ideas ?

Sammy.

3
Contributors
4
Replies
6
Views
6 Years
Discussion Span
Last Post by digital-ether
0

You'll need to setup a cron job to check when an ad will expire. For example you can add the creation date of the ad to the database, then check with the cron job for expiring ads.

The cron script can be just a regular PHP script, that is called from cron.

0

You'll need to setup a cron job to check when an ad will expire. For example you can add the creation date of the ad to the database, then check with the cron job for expiring ads.

The cron script can be just a regular PHP script, that is called from cron.

Yes but the thing is that my site is runing on windows , not unix....

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.