Cron Jobs php
i want to sen a email from webassist email automatic every moth. I have in my data base each client with a due date "date_passdue", can you help me to create a crom. Thanks, if you can where i have to put de code?
Thank you very much
i want to sen a email from webassist email automatic every moth. I have in my data base each client with a due date "date_passdue", can you help me to create a crom. Thanks, if you can where i have to put de code?
Thank you very much
You just create a php page that does what you want, then create the cron job to call that php page every month. See this article:
https://www.a2hosting.com/kb/developer-corner/php/run-php-scripts-from-cron-jobs
What i want it:
- My clients recibe an email if his account is past due.
- I hava a client that send email the day of his birthday.
So make a page that will send emails to clients that are past due... maybe store the last sent date so you don't send them more than you want to. Get it working so that it sends when you visit the page.
Do the same thing fore emails on clients' birthdays.
Once you have it working when you manually browse to the pages daily, then set up the cron job to visit the pages daily so you don't have to.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.