close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cron Jobs php

Thread began 2/04/2016 3:40 pm by QuiruNet | Last modified 2/04/2016 9:42 pm by Ray Borduin | 1174 views | 3 replies |

QuiruNet

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

Sign in to reply to this post

Ray BorduinWebAssist

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

Sign in to reply to this post
Did this help? Tips are appreciated...

QuiruNet

info

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.

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...