i'm new to this webdesin thing. what i need is a way to input information to the site, and have that information sent back to me at a specific time specified to my cell in a text. lets say i want to remember to call someone at 4 pm on the 27th of may 2010... i want a way to type the contact info and the time into the website and then on may27th 1210 i want to get a text with the information i put in... does anyone have any ideas.... i found code to call my phone right after i type it in, but not at a psecified time. it just happens imediately....

Dani AI

Generated

As described (enter contact info + a future time), 's Google Calendar suggestion is a handy quick hack for personal reminders. For a site that accepts visitors' input and sends SMS automatically at a scheduled time, the standard, reliable pattern is: persist the reminder, run a server-side scheduler or worker that finds due reminders, and send via an SMS gateway API.

Workflow (high level):

  • Capture: phone (store in E.164), message text, desired send timestamp and user timezone, plus status = pending.
  • Persist: save the record in a database. Store times in UTC and keep the user timezone for display.
  • Schedule/Worker: a background job or poller (cron, job queue like Bull/Sidekiq, or serverless scheduled function) finds records where status = pending and send_at <= current time and enqueues/sends them.
  • Send: use an SMS provider API (Twilio, Vonage, AWS SNS), update status, record delivery receipts, and implement retries/backoff for transient failures.

Example poller (Node.js + Twilio, simplified):

const client = require('twilio')(TWILIO_SID, TWILIO_TOKEN);

// run every minute
setInterval(async () => {
  const due = await db.query(
    "SELECT id, phone, text FROM reminders WHERE sent = false AND send_at <= CURRENT_TIMESTAMP LIMIT 50"
  );
  for (const r of due) {
    try {
      await client.messages.create({ to: r.phone, from: TWILIO_FROM, body: r.text });
      await db.query("UPDATE reminders SET sent = true WHERE id = ?", [r.id]);
    } catch (err) {
      // log error, increment retry count, apply backoff
    }
  }
}, 60 * 1000);

Practical notes and pitfalls: normalize and validate phone numbers, store timestamps in UTC, beware DST and user timezones, respect provider rate limits and costs, log delivery receipts, and implement opt-in/opt-out and regional compliance (TCPA/GDPR). Test thoroughly with real carrier numbers and start with low volume.

Further reading: Twilio SMS docs (Twilio SMS API) and AWS SNS SMS guide (AWS SNS SMS).

Recommended Answers

All 3 Replies

Hey there!

it's not the same thing you are looking for.. but this is kinda hack that you can use this on your website.

try google calender.

They have the service you are talking about. You just have to put event time/date and a brief about the event. You also deside how do you wanna get the event alerts. Via email or text to your cell phone. You can add as many as cell phone no. you want to add. And the all cell phones get the same time event alerts.

Google also provide you javascript code of the calender to put on your website. So, visitors also find out what are the events going on.

I hope this will solve your problem.

Peace

hey thanks! this is pretty close to what i need... i might be able to play with the code a little and make it my own... you are a life saver. thank you again! -josh

Hey, JOSH!!

Thanks for the good words and best of luck.

Peace

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.