Is there a way to program a database to send an email on a specific date and time (using phpmagic)? If so, can you please give me some pointers? Gina Grafilo
You should be able to setup a CRON job via your webserver from host. If you have a host worth it's salt they could give you a step-by step process. Happy hunting!!
Hello, Yes, as said SFOD_D223's you can use the CRON, you can write your script in PHP and execute it with CRON and wget.. Best regards, JAkomo
Like the above two said, only cron will do the job for you. Otherwise you've to execute it at the specify time and date you want.
if you are on windows then .you can use task schedules and for linux cron is the solution as answered earlier
Yes! this is very easy. you should enable your cron job and make some setting so that so your run every minute/hour/day. keep this file in cron folder and in php script before mail function compaire your date/time with current date/time. if it is true then mail will be shoot.
You can create new crons in linux by using the command crontab -e This will list all the existing crons and you can add your new cron which needs to be called on particular interval.
Don't forget that cron command you may use depends on your server. You should contact your hostadmin which cron commands may use, not all hosts supports all cron commands.