Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 713675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:59:16+00:00 2026-05-14T04:59:16+00:00

Using PHP … This is for my personal use so I’m thinking maybe 3-4

  • 0

Using PHP …

This is for my personal use so I’m thinking maybe 3-4 emails a day.
I’m at a point where I can send an email to a dedicated email address where my script parses the message and stores it into a DB. Now, I need to figure out the best way to check the records in the DB for any upcoming task. I feel like I’m missing something, maybe like a trigger field as to when a reminder should go out. However, that’s not a concern to me at the moment since I’ll just send an alert 15 mins prior to the due date.

Question is, shoudl I run a cron job that queries the DB every minute? I take it the query will have to say something like “select all tasks that is due within 15 minutes.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:59:16+00:00Added an answer on May 14, 2026 at 4:59 am

    A cron job seems reasonable. You just query based on the dueDate:

    MySQL: SELECT * from jobs WHERE dueDate > NOW() + INTERVAL 15 MINUTES

    SQL Server: SELECT * from jobs WHERE dueDate > DATEADD(GETDATE(),15,minute)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using PHP, what's the fastest way to convert a string like this: 123 to
Using PHP, and MySql, I am trying to implement this rather snazzy in-place editor
Using PHP, given a URL, how can I determine whether it is an image?
Using PHP, I can convert MySQL data or static table data to csv, Excel,
Using PHP and MySQL, I have a forum system I'm trying to build. What
Using PHP, Perl, or Python (preferably PHP), I need a way to query an
Using PHP and MySQL, I want to query a table of postings my users
Using php's DOMDocument->LoadHTMLFile('test.html'); keeps on returning an error to me, reporting for an error
Using PHP, I am trying to delete a record, but I want to check
using php and mysql I have two tables, a users table and a profiles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.