Jump to content

Email regarding 7 days remaining


PlumbBum

Recommended Posts

Hello,

Currently, in my local.config.php, I have defined the pilot inactive time to 30 days. This is the date in which their account will be set to retired.

However, I want to also send out an email when a pilot hasn't sent flown a flight in 23 days, informing them they have 7 days remaining until they are marked as retired. (The positive integer defined in the local.config.php file).

So ultimately, the CRON will check if the pilot has flown in 23 days, if they haven't then it will send them an email reminding them they have 7 days to do a flight.

If any body could provide me with some code to do this, that would be greatly appreciated. Thank you very much.

Daniel.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...